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 https://apacheignite.readme.io/docs/performance-tips#tune-garbage-collection -- Denis -- 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.
