We are using a standalone single node installation of Hazelcast 3.3.5 for storing some user's session info both logged and not logged users.
The map in wich we store the not logged sessions is set like that:
- Max size: 10.000
- Backup count: 0
- Async Backup Count: 0
- Max Idle: 0
- TTL: 86400
- Eviction Policy: LRU
- Eviction Percentage: 25
- Read Backup Data: False
Monitoring with Mancenter we see that the number of entries is stable around 9.500 but "Entry Memory" grows progressively... When Hazelcast is restarted both "Entries" and "Entry Memory" values are "0" then when "Entries" reaches the top of 9500 "Entry Memory" value is 37MB. So far so rigth. 24 hours later, the number of "Entries" is still the same so Eviction Policy is working fine but "Entry Memory" value is 160MB and growing until Hazelcast throws an OutOfMemory exception.
Is there something wrong in our configuration? It seems like GC is unable to free the memory of the removed entries.
Any ideas?
Thanks in advance