-
1. Re: How much memory(maximum) inifinispan cache can use?
sannegrinovero Mar 30, 2012 4:51 PM (in response to venkataratnamteki)Hi,
there is no theorethical limit. In practice you might need to tune some JVM parameters such as garbage collection and use large pages to be suited for large heap sizes, and make sure to leave enough memory free for the operating system.
-
2. Re: How much memory(maximum) inifinispan cache can use?
pisadr Apr 2, 2012 8:24 AM (in response to venkataratnamteki)Hello,
We are using infinispan 5.0 final version (REPL mode) with 256 GB RAM without any issues.
HTH.
-
3. Re: How much memory(maximum) inifinispan cache can use?
venkataratnamteki Apr 2, 2012 10:50 AM (in response to pisadr)Thats cool !!
Can you please let me know, how you configured it to use 256 GB RAM?
Thanks,!
-
4. Re: How much memory(maximum) inifinispan cache can use?
kodadma Apr 10, 2012 2:38 PM (in response to venkataratnamteki)256GB w/o GC issues? Interesting.
-
5. Re: How much memory(maximum) inifinispan cache can use?
prabhat.jha Apr 10, 2012 2:41 PM (in response to kodadma)When people use such a huge memory setup, they usually go through several iterations of tuning GC parameters so that full GC happens very rarely and if that does happen which usually means few minutes of stop the world scenario, it's okay for their usecases. The biggest I am aware of is 64G max memory for app server where it was okay for them to have a 7-min full GC every few days.
-
6. Re: How much memory(maximum) inifinispan cache can use?
kodadma Apr 10, 2012 3:18 PM (in response to prabhat.jha)For 256GB it is going to be at least 4*7 min = 28 minutes. 28 minutes every say 2 days results in less than 99% of availability. I do not think that one can tune 256 GB Java heap unless this heap is ABSOLUTELY static (or almost absolutely).
-
7. Re: How much memory(maximum) inifinispan cache can use?
prabhat.jha Apr 10, 2012 3:35 PM (in response to kodadma)I don't think you can make that conclusion based on what I said. That was for one particular use case.
-
8. Re: How much memory(maximum) inifinispan cache can use?
kodadma Apr 10, 2012 3:40 PM (in response to prabhat.jha)This answer for was marked as "Correct". Do not confuse people, plz. There is no general magic set of JVM tuning parameters to guarantee low GC pauses in extra large heaps.
-
9. Re: How much memory(maximum) inifinispan cache can use?
prabhat.jha Apr 10, 2012 3:50 PM (in response to kodadma)Oops I missed that part. Thanks for pointing that out. I am very glad to see people happily using 256G RAM.