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

Filed under:
|

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?

http://imagebin.org/92614

Shrinking heap

n.b originally posted on serverfault.com, moved to stackoverflow.com as requested

© Stack Overflow or respective owner

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-11T12:09:55Z Indexed on 2010/04/11 14:53 UTC
Read the original article Hit count: 490

Filed under:
|

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.

What is happening!!? How can I avoid this?

http://imagebin.org/92614

Shrinking heap

© Stack Overflow or respective owner

Java heap keeps on shrinking! What is happening in this graph of heap size?

Posted by chillitom on Server Fault See other posts from Server Fault or by chillitom
Published on 2010-04-11T12:09:55Z Indexed on 2010/04/11 12:13 UTC
Read the original article Hit count: 490

Filed under:
|

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.

What is happening!!? How can I avoid this?

http://imagebin.org/92614

Shrinking heap

© Server Fault or respective owner

Related posts about java

Related posts about gc