Hi, guys.
I have some problems while vertx is running.
I use Hazelcast 3.2.3 version which is included in Vertx 2.1.5 version, but there is Memory Overflow or server load by frequent FGC after 3 months of running vertx.
And I found the reason of this situation. I guess this is happened by accumulating org.vertx.java.spi.cluster.impl.hazelcast.HazelcastAsyncMultiMap.
So I just tried to test by calling vertx.eventBus().regiterHandler and vertx.eventBus().unregisterHandler for a single pair repeatly.
And I've gotten the result from repetition test that HazelcastAsyncMultiMap Memory is accumulating consistently. But I don't know this result means memory leak. this is a memory leak?
And there is another question.
Now I try to use eviction config by setting map name field in cluster.xml to "sub" like <map name="subs">.
But It doesn't work even though I've set like belows.
<eviction-policy>LRU</eviction-policy>
<max-size policy="USED_HEAP_SIZE">100</max-size> or <max-size policy=" USED_HEAP_PERCENTAGE ">50</max-size>
<eviction-percentage>40</eviction-percentage>
What we have to do for using eviction? Is there any other configuration which I have to set?
In summary, I have two questions about memory leak and eviction.
Please answer the two questions.