Debugging Resident Set Size growth

Chris Burroughs chris.burroughs at gmail.com
Fri Apr 15 11:52:11 PDT 2011


Thanks you for your suggestions.  I didn't think to use pmap before.

On 04/13/2011 09:55 PM, Y. S. Ramakrishna wrote:
> Can you use pmap -x to see where and what the growth is in?

Individual calls to pmap as of right now.  Will look into measuring
changes over time.

http://pastebin.com/G0SQ7mQQ
http://pastebin.com/ARPF8gPk

> 
> Did you look at the GC logs or at the Java heap with jmap or jconsole?
> 

I don't see GC large looking pauses dangerous looking GC pressure, or
running close to max heap size from logs or jconsole.

> In summary, without more detaiol, I do not see that there is
> necessarily a problem here to solve (although i do sympathise
> with the Linux OOM killer, I am sure it will not step in
> just because your RSS is 2 GB for a program that you seek
> to give 1.5 GB of java heap; how much RAM does your machine
> have?)
> 

Box has 4 GB of RAM, 2 GB swap.  There is another .5 gig java (tomcat)
process.


As requested I'll move further discussion here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7037080


More information about the hotspot-dev mailing list