• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Heap dump Size and Resident Memory(RES) Size

 
krishna bulusu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have our production running under Red ha Linux environment. We are using JDK 1.5.19 version. We are using Tomcat 6.0.18 as our web server.
What we observe is, the heap dump size and the resident memory sizes are not matching at all. If the Resident memory(RES) size is at 2GB, the heap dump size is 220MB. We are having a huge performance hit due to this.
Is this normal pattern or are we facing memory leak? We have analyzed the heap dump and fixed few issues in it. However, what we think is, memory is leaking not in the heap but some where else. Please can somebody help us on this.

PS: Sorry for the re post... Nobody is answering this on Java forum
 
Sandeep Sanaboyina
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have not mentioned the heap size that you are providing for your applications.

I think the heap dump does not have to match with the resident memory.
 
SumitPal Pal
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes we would like to help you out - but I think we need more info from your side on this.
Your JVM Parameters would be helpful.
Also the heapdump

I do agree with the previous post that the HeapDump and RES Size need not be equal.

Use a profiler would be the best way to correct memory leaks.
I have used YourKit extensively but there are others in the market too
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic