Java heap keeps on shrinking! What is happening in this graph of heap size?
Posted
by chillitom
on Stack Overflow
See other posts from Stack Overflow
or by chillitom
Published on 2010-04-11T13:35:09Z
Indexed on
2010/04/11
13:43 UTC
Read the original article
Hit count: 490
Hi Guys,
This is a screen shot of a JVM (win64, 6u17) running ActiveMQ, after every garbage collection the heap size is reducing. As the heap size reduces garbage collection gets more frequent and the heap reduces more quickly. Eventually the VM locks up as it's spending all it's time in GC.
-Xms is the default and -Xmx is 2048mb.
What is happening!!? How can I avoid this?
n.b originally posted on serverfault.com, moved to stackoverflow.com as requested
© Stack Overflow or respective owner