Our operations team reports that the used memory is growing and it reaches 95% of the available memory. They bounce the JBoss JVM's or free the memory manually.
I have analyzed the pmap details of the jvm's. It is about this size everytime.
total kB 2808572 1822484 1805764
'top' always shows Java as the top process. After reading a few articles about sizing memory on RHEL I turned to the forum.
I am not making much headway. Is this a memory leak ?
Since the JVM is being is bounced it is considered the cause of it. What are recommendations ?
I notice thousands of 'anon' entries in the pmap file but the total is what I showed above. It seems to be within a limit always. Each anon entry seems to correspond to the default thread stack size on a 64-bit vm which is 1024kb.
000000004013b000 1016 36 36 rwx-- [ anon ]
00000000402ed000 12 0 0 ----- [ anon ]
00000000402f0000 1016 36 36 rwx-- [ anon ]
00000000403ee000 12 0 0 ----- [ anon ]
00000000403f1000 1016 44 44 rwx-- [ anon ]
00000000404ef000 12 0 0 ----- [ anon ]
This application does not close InputStream's by calling close(). Can file handles leak memory ?
How do we track leakages like they do it in Solaris which the bugid describes ?