This is a Java web application on Websphere6.1, Solaris 10, JDK 1.5.0_13. We set the maximum heap size to 1024 m. Jmap shows that the state of the heap is great. Heap memory usage is only 57%. No OutOfMemory at all.
But we saw a very high RSS (3GB) for this java process from ps. pmap shows a block with 1.9G private memory.
3785: / dmwdkpmmkg / was / 610 / java / bin / java -server -Dwas.status.socket = 65370 -X
Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
...
0020A000 2008 2008 2008 - 8K rwx-- [heap]
00400000 1957888 1957888 1957888 - 4M rwx-- [heap]
8D076000 40 40 40 - 8K rw - R [stack tid = 10786]
...
Is this a memory leak of the C heap in native code? What approach is recommended to find out the root cause?
source
share