Reducing Java Memory Usage and GC with UseCompressedOops VM Option
blog.leneghan.com
Reducing Java Memory Usage and GC with UseCompressedOops VM Option
1–8 of 8 posts
Re: Reducing Java Memory Usage and GC with UseCompressedOops VM Option
#2Re: Reducing Java Memory Usage and GC with UseCompressedOops VM Option
#3This article fails to say what this flag actually does. My understanding is that it makes 64 bit java use 32 bit pointers. Using the fact that all java memory is 8 byte aligned, a 32 bit pointer gets you a 32gb memory space.
Re: Reducing Java Memory Usage and GC with UseCompressedOops VM Option
#4Re: Reducing Java Memory Usage and GC with UseCompressedOops VM Option
#5By the way, if anyone knows of a method to reduce the RSS size of the java process, I'd be more than grateful to hear about it.
Re: Reducing Java Memory Usage and GC with UseCompressedOops VM Option
#6We love this setting. It gives us a really nice performance boost on big heaps. Obviously, it can only be enabled on heap sizes below 32GB. We have found that with this setting enabled on a 32GB heap, we need to go up to 48GB+ in order to achieve the same performance.
Re: Reducing Java Memory Usage and GC with UseCompressedOops VM Option
#7It is not clear whether it reduces the heap size, or the overall footprint of the java process. By the way, if anyone knows of a method to reduce the RSS size of the java process, I'd be more than grateful to hear about it.