I am doing a pmap on a tomcat process and I am seeing some huge anon blocks. From what I read anon blocks are used for thread stacks and for JNI. I have a very moderate thread count. How can I go about finding out what is causing these huge anon blocks?
00000000ee0d0000 26752K rwx-- [ anon ]
00000000efaf0000 33792K rwx-- [ anon ]
00000000f1bf0000 25856K rwx-- [ anon ]
00000000f3530000 39680K rwx-- [ anon ]
( on a side note is pmap the correct way to measure how much memory is allocated to tomcat?)