Affects Version/s: None
Fix Version/s: None
It is observed that in production cluster, though app-cache-size is set to minimal i.e less than 5, ATS server is going down with OOM. The entity-group-fs-store.cache-store-class is configured with MemoryTimelineStore which is by default. The heap size configured for ATS daemon is 8GB.
This is because ATS parse the entity log file per domain and caches it. If the domain has lot of entity information, then in memory cache store loads all the entity information which is causing OOM. After restart, again it caches same domain and goes OOM.
There are possible way handle it are
- threshold the number of entities loaded into in memory cache. This still can lead to OOM if data size is huge.
- Based on the data size in the store.
We faced 1st issue where number of entities are very huge.