Abhishek M wrote > I have 25 Millions Records. When i am putting into Off_Heap cache its > consuming 14Gb Memory(near about 10Gb Ram + 4Gb Swap). Please let me know > how i can reduce the memory size. their is any option so that it will > consume less memory? While i am putting same data in Java heap(in HashMap) > its taking near about 6GB Ram.
You should specify on-heap memory size at the startup time of your JVM. For example, the following JVM setting "-Xmx1g" will allocate 1GB on heap. Abhishek M wrote > Also facing Issue while fetching the data. 95% time its responding with in > 10Ms. But some time its takes near about 1-2 Min. Please let me know what > can be a issue. This sounds like a GC pause caused by large heap space. Once you apply the JVM configuration setting above, it should go away. D. ----- D. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/When-putting-data-on-Off-heap-Cache-Consuming-all-RAM-tp452p476.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
