You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "kcheng.mvp" <kc...@gmail.com> on 2016/01/06 10:06:32 UTC

How ignite server node release memory(GC) for IgniteQueue and IgniteSet

Would ignite node release memory for those IgniteQueue and IgniteSet when
those queue or set not used any more?









--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-ignite-server-node-release-memory-GC-for-IgniteQueue-and-IgniteSet-tp2388.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How ignite server node release memory(GC) for IgniteQueue and IgniteSet

Posted by "kcheng.mvp" <kc...@gmail.com>.
Thank you very much!



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-ignite-server-node-release-memory-GC-for-IgniteQueue-and-IgniteSet-tp2388p2411.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How ignite server node release memory(GC) for IgniteQueue and IgniteSet

Posted by vkulichenko <va...@gmail.com>.
All elements will be removed and memory will be released eventually by GC.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-ignite-server-node-release-memory-GC-for-IgniteQueue-and-IgniteSet-tp2388p2406.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How ignite server node release memory(GC) for IgniteQueue and IgniteSet

Posted by "kcheng.mvp" <kc...@gmail.com>.
I have noticed these two methods, but not sure in the backend system would
release the memory or not.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-ignite-server-node-release-memory-GC-for-IgniteQueue-and-IgniteSet-tp2388p2397.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How ignite server node release memory(GC) for IgniteQueue and IgniteSet

Posted by vkulichenko <va...@gmail.com>.
Hi,

You can use IgniteQueue.close()/IgniteSet.close() method to completely
remove the data structure with all its elements. Will this work for you?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-ignite-server-node-release-memory-GC-for-IgniteQueue-and-IgniteSet-tp2388p2392.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.