This message contains confidential information and is intended only for the individuals named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. -Hazelcast --
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/7d61271a-6638-4d4e-90ae-61aa40349359n%40googlegroups.com.
Hi Karim –
The config looks ok. You have configured both expiration and eviction. Map entries should be removed after either 10 minutes (600 s) overall, or after 3 minutes of no activity on a key. The 100MB is calculated to the per-partition size, so it’s possible that this might be a little deceiving.
So, a couple of questions –
You say that when it reached 100MB, it stopped adding data – how? Did your client throw exceptions? Terminate?
Could your keys have wrapped, so you’re doing updates to existing data?
What are you seeing in the management center? On the map, you should see the entry and backup counts and the size. You should also see the rate of ‘put’s and the latency. Does this change when you hit 100MB?
Tom
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/8cf2e7a7-88f2-40fd-9273-10e8accd4cdbn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/840b2a39-e9f9-4a1c-9629-a0a67bee61d2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/840b2a39-e9f9-4a1c-9629-a0a67bee61d2n%40googlegroups.com.
Hi Tom,I did add an entry map listener as you suggested.There is a weird behaviour: actually the eviction is happening.However, whatever the eviction policy I set (LFU or LRU), when the max-size is reached (max-size-policy="USED_HEAP_SIZE"), it is always evicting the last inserted entry!!!!
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAHSeLL1Cn5Bnex4uEW6aexiCHG%3DgYJqqVTsUWNTHrafAyQu-Aw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAN%2Bc%3DYU3rch_ji2iLtfwFDS6LEv8UKrwTze2c4D-iea5cheiyQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/4d93ab2e-9cdb-44c7-b7df-ba5f616ca42cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAHSeLL1g5nMWezchWKJU%3Dv6qc-NvwxQb6m6gj%3DzTkN%3DGV%2Bi98Q%40mail.gmail.com.