ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Heap memory getting increase while doing cache.get()
Date Tue, 05 Apr 2016 08:34:16 GMT
Hi Prabuddha,

Cache.get() operation returns copy of an object stored in a cache by
default. If you set CacheConfiguration.setCopyOnRead to false then a copy
won't be created but you mustn't modify returned object directly because it
can effect consistency.

In any case the objects returned by cache.get() must be cleaned by Garbage
Collector. Probably you should modify your GC settings to overcome
application shutdown due to insufficient memory or long GC.
Please set this generic recommended settings to see the difference


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Heap-memory-getting-increase-while-doing-cache-get-tp3925p3930.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message