mapping the memory within a java process

At the system level, you can look at not just how much memory a process is using, but where it is using the memory, in detail. Use pmap…

First find the process id:

[root@jbtest ~]# ps -ef | grep java

bbod     11987 11929  0 Feb29 ?        00:04:03 /opt/jdk/bin/java
-Dprogram.name=run.sh -server -Xms2048m -Xmx2048m -XX:MaxPermSize=256m
-Dcom.test.cookiedomain=test.com -Dtangosol.mode=prod
-XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:NewRatio=3
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/opt/etc/heap -Dsun.rmi.dgc.client.gcInterval=1800000
-Dsun.rmi.dgc.server.gcInterval=1800000
-Dtangosol.coherence.log.level=2 -Dtangosol.management=all
-Dtangosol.management.remote=true
-Dtangosol.management.readonly=true -verbose:gc
-Xloggc:/opt/logs/gc.log.app.201202291332 -XX:+PrintGCDateStamps
-XX:+PrintGCDetails -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false
-Djava.net.preferIPv4Stack=true
-Djava.endorsed.dirs=/opt/jboss/lib/endorsed -classpath
/opt/jboss/bin/run.jar:/opt/jdk/lib/tools.jar org.jboss.Main
-c app -P /opt/jboss/server/app/lib/db.prop -Djboss.server.log.dir=/opt/logs
-b jbtest.bsd.prodcc.net
-Djboss.bind.address=ui.jbtest
-Djboss.svr.name=jbtest
-Djboss.env=production -Djboss.app=app

The run pmap as follows against that process ID:

[root@jbtest ~]# pmap -x 11987
11987:   /opt/jdk/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx2048m -XX:MaxPermSize=256m
 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/etc/heap
-Dsun.rmi.dgc.client.gcInterval=1800000 -Dsun.rmi.dgc.server.gcInterval=1800000 -Dtangosol.log.level=2
-Dtangosol.management=all -Dtangosol.management.remote=true
Address           Kbytes     RSS   Dirty Mode   Mapping
0000000040000000      36      36       0 r-x--  java
0000000040108000       8       8       8 rwx--  java
000000004010a000       4       0       0 -----    [ anon ]
000000004010b000    1024      12      12 rwx--    [ anon ]
000000004020b000      12       0       0 -----    [ anon ]
000000004020e000    1016      36      36 rwx--    [ anon ]
00000000403c6000      12       0       0 -----    [ anon ]
00000000403c9000    1016      32      32 rwx--    [ anon ]
0000000040505000      12       0       0 -----    [ anon ]
0000000040508000    1016      44      44 rwx--    [ anon ]
0000000040634000      12       0       0 -----    [ anon ]
0000000040637000    1016     104     104 rwx--    [ anon ]
0000000040735000      12       0       0 -----    [ anon ]
0000000040738000    1016      36      36 rwx--    [ anon ]
0000000040836000      12       0       0 -----    [ anon ]
0000000040839000    1016      32      32 rwx--    [ anon ]
0000000040937000      12       0       0 -----    [ anon ]
000000004093a000    1016      44      44 rwx--    [ anon ]
0000000040a38000      12       0       0 -----    [ anon ]
0000000040a3b000    1016      32      32 rwx--    [ anon ]
0000000040c34000       4       0       0 -----    [ anon ]
0000000040c35000    1024      12      12 rwx--    [ anon ]
0000000040d35000       4       0       0 -----    [ anon ]
0000000040d36000    1024      12      12 rwx--    [ anon ]
0000000040e68000      12       0       0 -----    [ anon ]
0000000040e6b000    1016      32      32 rwx--    [ anon ]
0000000040f76000      12       0       0 -----    [ anon ]
0000000040f79000    1016      32      32 rwx--    [ anon ]
000000004107a000       4       0       0 -----    [ anon ]
000000004107b000    1024      12      12 rwx--    [ anon ]
000000004127a000      12       0       0 -----    [ anon ]
000000004127d000    1016      52      52 rwx--    [ anon ]
000000004137b000      12       0       0 -----    [ anon ]
000000004137e000    1016      36      36 rwx--    [ anon ]
00000000414a7000      12       0       0 -----    [ anon ]
00000000414aa000    1016       8       8 rwx--    [ anon ]
00000000415a8000      12       0       0 -----    [ anon ]
00000000415ab000    1016      44      44 rwx--    [ anon ]
00000000416c5000      12       0       0 -----    [ anon ]
00000000416c8000    1016      56      56 rwx--    [ anon ]
00000000417c6000      12       0       0 -----    [ anon ]
00000000417c9000    1016      36      36 rwx--    [ anon ]
000000004190b000      12       0       0 -----    [ anon ]
000000004190e000    1016      32      32 rwx--    [ anon ]
0000000041a70000      12       0       0 -----    [ anon ]
0000000041a73000    1016      36      36 rwx--    [ anon ]
0000000041b75000       4       0       0 -----    [ anon ]
0000000041b76000    1024      12      12 rwx--    [ anon ]
0000000041c76000       4       0       0 -----    [ anon ]
0000000041c77000    1024      12      12 rwx--    [ anon ]
0000000041d77000       4       0       0 -----    [ anon ]
0000000041d78000    1024      12      12 rwx--    [ anon ]
0000000041e78000       4       0       0 -----    [ anon ]
0000000041e79000    1024      12      12 rwx--    [ anon ]
0000000041f79000       4       0       0 -----    [ anon ]
0000000041f7a000    1024      12      12 rwx--    [ anon ]
000000004207a000       4       0       0 -----    [ anon ]
000000004207b000    1024      12      12 rwx--    [ anon ]
000000004217b000       4       0       0 -----    [ anon ]
000000004217c000    1024      12      12 rwx--    [ anon ]
000000004227c000       4       0       0 -----    [ anon ]
000000004227d000    1024      12      12 rwx--    [ anon ]
000000004237d000       4       0       0 -----    [ anon ]
000000004237e000    1024      12      12 rwx--    [ anon ]
000000004247e000       4       0       0 -----    [ anon ]
000000004247f000    1024      12      12 rwx--    [ anon ]
000000004257f000      12       0       0 -----    [ anon ]
0000000042582000    1016      52      52 rwx--    [ anon ]
0000000042680000      12       0       0 -----    [ anon ]
0000000042683000    1016      48      48 rwx--    [ anon ]
0000000042781000      12       0       0 -----    [ anon ]
0000000042784000    1016       8       8 rwx--    [ anon ]
0000000042882000       4       0       0 -----    [ anon ]
0000000042883000    1024       8       8 rwx--    [ anon ]
0000000042983000      12       0       0 -----    [ anon ]
0000000042986000    1016      92      92 rwx--    [ anon ]
0000000042a84000      12       0       0 -----    [ anon ]
0000000042a87000    1016      32      32 rwx--    [ anon ]
0000000042b85000      12       0       0 -----    [ anon ]
0000000042b88000    1016      36      36 rwx--    [ anon ]
0000000042c86000      12       0       0 -----    [ anon ]
0000000042c89000    1016      36      36 rwx--    [ anon ]
0000000042d87000      12       0       0 -----    [ anon ]
0000000042d8a000    1016      44      44 rwx--    [ anon ]
0000000042e88000      12       0       0 -----    [ anon ]
0000000042e8b000    1016      36      36 rwx--    [ anon ]
0000000042f89000      12       0       0 -----    [ anon ]
0000000042f8c000    1016      68      68 rwx--    [ anon ]
000000004308a000      12       0       0 -----    [ anon ]
000000004308d000    1016      32      32 rwx--    [ anon ]
000000004318b000      12       0       0 -----    [ anon ]
000000004318e000    1016      60      60 rwx--    [ anon ]
000000004328c000      12       0       0 -----    [ anon ]
000000004328f000    1016      36      36 rwx--    [ anon ]
000000004338d000      12       0       0 -----    [ anon ]
0000000043390000    1016      32      32 rwx--    [ anon ]
000000004348e000      12       0       0 -----    [ anon ]
0000000043491000    1016      60      60 rwx--    [ anon ]
000000004358f000      12       0       0 -----    [ anon ]
0000000043592000    1016      36      36 rwx--    [ anon ]
0000000043690000      12       0       0 -----    [ anon ]
0000000043693000    1016      36      36 rwx--    [ anon ]
0000000043791000      12       0       0 -----    [ anon ]
0000000043794000    1016      44      44 rwx--    [ anon ]
0000000043892000      12       0       0 -----    [ anon ]
0000000043895000    1016      36      36 rwx--    [ anon ]
0000000043993000      12       0       0 -----    [ anon ]
0000000043996000    1016      36      36 rwx--    [ anon ]
0000000043a94000      12       0       0 -----    [ anon ]
0000000043a97000    1016      48      48 rwx--    [ anon ]
0000000043b95000      12       0       0 -----    [ anon ]
0000000043b98000    1016      40      40 rwx--    [ anon ]
0000000043c96000      12       0       0 -----    [ anon ]
0000000043c99000    1016      52      52 rwx--    [ anon ]
0000000043d97000      12       0       0 -----    [ anon ]
0000000043d9a000    1016      32      32 rwx--    [ anon ]
0000000043e98000      12       0       0 -----    [ anon ]
0000000043e9b000    1016      36      36 rwx--    [ anon ]
0000000043f99000      12       0       0 -----    [ anon ]
0000000043f9c000    1016      36      36 rwx--    [ anon ]
000000004409a000      12       0       0 -----    [ anon ]
000000004409d000    1016      36      36 rwx--    [ anon ]
000000004419b000      12       0       0 -----    [ anon ]
000000004419e000    1016      96      96 rwx--    [ anon ]
000000004429c000      12       0       0 -----    [ anon ]
000000004429f000    1016      36      36 rwx--    [ anon ]
000000004439d000      12       0       0 -----    [ anon ]
00000000443a0000    1016      44      44 rwx--    [ anon ]
000000004449e000      12       0       0 -----    [ anon ]
00000000444a1000    1016      76      76 rwx--    [ anon ]
000000004459f000      12       0       0 -----    [ anon ]
00000000445a2000    1016      52      52 rwx--    [ anon ]
00000000446a0000      12       0       0 -----    [ anon ]
00000000446a3000    1016      56      56 rwx--    [ anon ]
00000000447a1000      12       0       0 -----    [ anon ]
00000000447a4000    1016      48      48 rwx--    [ anon ]
00000000448a2000      12       0       0 -----    [ anon ]
00000000448a5000    1016      56      56 rwx--    [ anon ]
00000000449a3000      12       0       0 -----    [ anon ]
00000000449a6000    1016      48      48 rwx--    [ anon ]
0000000044aa4000      12       0       0 -----    [ anon ]
0000000044aa7000    1016      36      36 rwx--    [ anon ]
0000000044ba5000      12       0       0 -----    [ anon ]
0000000044ba8000    1016      36      36 rwx--    [ anon ]
0000000044ca6000      12       0       0 -----    [ anon ]
0000000044ca9000    1016      44      44 rwx--    [ anon ]
0000000044da7000      12       0       0 -----    [ anon ]
0000000044daa000    1016      76      76 rwx--    [ anon ]
0000000044ea8000      12       0       0 -----    [ anon ]
0000000044eab000    1016      52      52 rwx--    [ anon ]
0000000044fa9000      12       0       0 -----    [ anon ]
0000000044fac000    1016      56      56 rwx--    [ anon ]
00000000450aa000      12       0       0 -----    [ anon ]
00000000450ad000    1016      40      40 rwx--    [ anon ]
00000000451ab000      12       0       0 -----    [ anon ]
00000000451ae000    1016      44      44 rwx--    [ anon ]
00000000452ac000      12       0       0 -----    [ anon ]
00000000452af000    1016      36      36 rwx--    [ anon ]
00000000453ad000      12       0       0 -----    [ anon ]
00000000453b0000    1016      32      32 rwx--    [ anon ]
00000000454ae000      12       0       0 -----    [ anon ]
00000000454b1000    1016      36      36 rwx--    [ anon ]
00000000455af000      12       0       0 -----    [ anon ]
00000000455b2000    1016      36      36 rwx--    [ anon ]
00000000456b0000      12       0       0 -----    [ anon ]
00000000456b3000    1016     116     116 rwx--    [ anon ]
00000000457b1000      12       0       0 -----    [ anon ]
00000000457b4000    1016     116     116 rwx--    [ anon ]
00000000458b2000      12       0       0 -----    [ anon ]
00000000458b5000    1016      32      32 rwx--    [ anon ]
00000000459b3000      12       0       0 -----    [ anon ]
00000000459b6000    1016      60      60 rwx--    [ anon ]
0000000045ab4000      12       0       0 -----    [ anon ]
0000000045ab7000    1016      48      48 rwx--    [ anon ]
0000000045bb5000      12       0       0 -----    [ anon ]
0000000045bb8000    1016      44      44 rwx--    [ anon ]
0000000045cb6000      12       0       0 -----    [ anon ]
0000000045cb9000    1016      44      44 rwx--    [ anon ]
00000000461df000  673112  660568  660568 rwx--    [ anon ]
0000000770000000  159104  159072  159072 rwx--    [ anon ]
0000000779b60000  103040       0       0 rwx--    [ anon ]
0000000780000000 2097152  989472  989472 rwx--    [ anon ]
0000003471400000     112     104       0 r-x--  ld-2.5.so
000000347161b000       4       4       4 r-x--  ld-2.5.so
000000347161c000       4       4       4 rwx--  ld-2.5.so
0000003471800000    1336     556       0 r-x--  libc-2.5.so
000000347194e000    2048       0       0 -----  libc-2.5.so
0000003471b4e000      16      16       8 r-x--  libc-2.5.so
0000003471b52000       4       4       4 rwx--  libc-2.5.so
0000003471b53000      20      20      20 rwx--    [ anon ]
0000003471c00000       8       8       0 r-x--  libdl-2.5.so
0000003471c02000    2048       0       0 -----  libdl-2.5.so
0000003471e02000       4       4       4 r-x--  libdl-2.5.so
0000003471e03000       4       4       4 rwx--  libdl-2.5.so
0000003472000000      88      64       0 r-x--  libpthread-2.5.so
0000003472016000    2044       0       0 -----  libpthread-2.5.so
0000003472215000       4       4       4 r-x--  libpthread-2.5.so
0000003472216000       4       4       4 rwx--  libpthread-2.5.so
0000003472217000      16       4       4 rwx--    [ anon ]
0000003472400000     520      20       0 r-x--  libm-2.5.so
0000003472482000    2044       0       0 -----  libm-2.5.so
0000003472681000       4       4       4 r-x--  libm-2.5.so
0000003472682000       4       4       4 rwx--  libm-2.5.so
0000003473400000      28      20       0 r-x--  librt-2.5.so
0000003473407000    2048       0       0 -----  librt-2.5.so
0000003473607000       4       4       4 r-x--  librt-2.5.so
0000003473608000       4       4       4 rwx--  librt-2.5.so
0000003473800000      84      24       0 r-x--  libnsl-2.5.so
0000003473815000    2044       0       0 -----  libnsl-2.5.so
0000003473a14000       4       4       4 r-x--  libnsl-2.5.so
0000003473a15000       4       4       4 rwx--  libnsl-2.5.so
0000003473a16000       8       0       0 rwx--    [ anon ]
0000003473c00000      68      52       0 r-x--  libresolv-2.5.so
0000003473c11000    2048       0       0 -----  libresolv-2.5.so
0000003473e11000       4       4       4 r-x--  libresolv-2.5.so
0000003473e12000       4       4       4 rwx--  libresolv-2.5.so
0000003473e13000       8       4       0 rwx--    [ anon ]
00002aaaaaaab000       8       8       0 r-xs-  run.jar
00002aaaaaaad000       4       4       0 r-xs-  getopt.jar
00002aaaaaab8000      52      52       0 r-x--  libverify.so
00002aaaaaac5000    1020       0       0 -----  libverify.so
00002aaaaabc4000      12      12      12 rwx--  libverify.so
00002aaaaabc7000     164     148       0 r-x--  libjava.so
00002aaaaabf0000    1020       0       0 -----  libjava.so
00002aaaaacef000      28      20      20 rwx--  libjava.so
00002aaaaacf6000       4       4       0 r-x--    [ anon ]
00002aaaaacf7000       4       4       4 rwx--    [ anon ]
00002aaaaacf8000      28      28       0 r-x--  libhpi.so
00002aaaaacff000    1028       0       0 -----  libhpi.so
00002aaaaae00000       8       8       8 rwx--  libhpi.so
00002aaaaae02000       4       0       0 rwx--    [ anon ]
00002aaaaae03000      32      32      16 rwxs-  11987
00002aaaaae0f000      40      28       0 r-x--  libnss_files-2.5.so
00002aaaaae19000    2044       0       0 -----  libnss_files-2.5.so
00002aaaab018000       4       4       4 r-x--  libnss_files-2.5.so
00002aaaab019000       4       4       4 rwx--  libnss_files-2.5.so
00002aaaab01a000      56      48       0 r-x--  libzip.so
00002aaaab028000    1032       0       0 -----  libzip.so
00002aaaab12a000      12      12      12 rwx--  libzip.so
00002aaaab12d000   14340   14160   14160 rwx--    [ anon ]
00002aaaabf2e000   34816       0       0 rwx--    [ anon ]
00002aaaae12e000     224     224     224 rwx--    [ anon ]
00002aaaae166000     544       0       0 rwx--    [ anon ]
00002aaaae1ee000     312     312     312 rwx--    [ anon ]
00002aaaae23c000     200       0       0 rwx--    [ anon ]
00002aaaae26e000    7484    7484    7484 rwx--    [ anon ]
00002aaaae9bd000     200       0       0 rwx--    [ anon ]
00002aaaae9ef000     160     160     160 rwx--    [ anon ]
00002aaaaea17000      76      76       0 r-xs-  xalan.jar
00002aaaaea2a000       8       8       0 r-xs-  activation.jar
00002aaaaea2c000      12      12       0 r-xs-  jaxb-api.jar
00002aaaaea2f000       8       8       0 r-xs-  jbossws-native-jaxws-ext.jar
00002aaaaea31000       8       8       0 r-xs-  jbossws-native-jaxrpc.jar
00002aaaaea33000       8       8       0 r-xs-  stax-api.jar
00002aaaaea35000      92      92       0 r-xs-  xercesImpl.jar
00002aaaaea4c000      16      16       0 r-xs-  serializer.jar
00002aaaaea50000       8       8       0 r-xs-  jbossws-native-jaxws.jar
00002aaaaea52000       8       8       0 r-xs-  jbossws-native-saaj.jar
00002aaaaea54000       8       8       0 r-xs-  resolver.jar
00002aaaaea56000    1632    1632       0 r-xs-  rt.jar
00002aaaaebee000   14600    2656    2656 rwx--    [ anon ]
00002aaaafa30000   55108      44       0 r-x--  locale-archive
00002aaab3001000     380     380       0 r-xs-  tools.jar
00002aaab3060000      28      28       0 r-xs-  concurrent.jar
00002aaab3067000      16      16       0 r-xs-  log4j-boot.jar
00002aaab306b000       8       4       0 r-xs-  jboss-logging-spi.jar
00002aaab306d000       8       8       0 r-xs-  jboss-logging-log4j.jar
00002aaab306f000      12      12       0 r-xs-  jboss-logging-jdk.jar
00002aaab3072000      44      44       0 r-xs-  jboss-common-core.jar
00002aaab307d000      40      40       0 r-xs-  jboss-xml-binding.jar
00002aaab3087000       8       8       0 r-xs-  jboss-bootstrap.jar
00002aaab3089000      36      36       0 r-xs-  javassist.jar
00002aaab3092000      20      20       0 r-xs-  jboss-reflect.jar
00002aaab3097000      20      20       0 r-xs-  jboss-mdr.jar
00002aaab309c000      12      12       0 r-xs-  jboss-dependency.jar
00002aaab309f000      60      60       0 r-xs-  jboss-kernel.jar
00002aaab30ae000      12      12       0 r-xs-  jboss-metatype.jar
00002aaab30b1000      16      16       0 r-xs-  jboss-managed.jar
00002aaab30b5000      24      24       0 r-xs-  jboss-vfs.jar
00002aaab30bb000       4       4       0 r-xs-  jboss-classloading-spi.jar
00002aaab30bc000      16      16       0 r-xs-  jboss-classloader.jar
00002aaab30c0000      12      12       0 r-xs-  jboss-classloading.jar
00002aaab30c3000       8       8       0 r-xs-  jboss-classloading-vfs.jar
00002aaab30c5000      88      88       0 r-xs-  jboss-aop.jar
00002aaab30db000      20      20       0 r-xs-  jboss-aop-mc-int.jar
00002aaab30e0000      32      32       0 r-xs-  trove.jar
00002aaab30e8000      76      72       0 r-x--  libnet.so
00002aaab30fb000    1028       0       0 -----  libnet.so
00002aaab31fc000      12      12      12 rwx--  libnet.so
00002aaab31ff000    3072      16      16 rwx--    [ anon ]
00002aaab3511000      24      24       0 r-x--  libmanagement.so
00002aaab3517000    1020       0       0 -----  libmanagement.so
00002aaab3616000       8       8       8 rwx--  libmanagement.so
00002aaab3646000      12      12       0 r-xs-  jce.jar
00002aaab3649000      28      28       0 r-xs-  jsse.jar
00002aaab3650000      12      12       0 r-xs-  jce.jar
00002aaab3653000      16      16       0 r-x--  libnss_dns-2.5.so
00002aaab3657000    2044       0       0 -----  libnss_dns-2.5.so
00002aaab3856000       4       4       4 r-x--  libnss_dns-2.5.so
00002aaab3857000       4       4       4 rwx--  libnss_dns-2.5.so
00002aaab3867000       4       4       4 rwx--    [ anon ]
00002aaab3868000      16      16       0 r-xs-  sunpkcs11.jar
00002aaab3879000      12      12       0 r-xs-  sunjce_provider.jar
00002aaab3957000      32      32       0 r-xs-  resources.jar
00002aaab39d0000      56      56       0 r-xs-  charsets.jar
00002aaab39de000      56      56       0 r-xs-  charsets.jar
00002aaab3b79000     328     328       0 r-xs-  coherence.jar
00002aaab4000000   65524   54276   54276 rwx--    [ anon ]
00002aaab7ffd000      12       0       0 -----    [ anon ]
00002aaab8000000   65536   65516   65516 rwx--    [ anon ]
00002aaabc1e6000      28      28       0 r-x--  libnio.so
00002aaabc1ed000    1020       0       0 -----  libnio.so
00002aaabc2ec000       8       8       8 rwx--  libnio.so
00002aaabc47a000     584     184       0 r-x--  libawt.so
00002aaabc50c000    1020       0       0 -----  libawt.so
00002aaabc60b000     100      56      56 rwx--  libawt.so
00002aaabc624000     148       8       8 rwx--    [ anon ]
00002aaabc681000       4       4       0 r-x--  librmi.so
00002aaabc682000    1020       0       0 -----  librmi.so
00002aaabc781000       4       4       4 rwx--  librmi.so
00002aaabc782000      20      16       0 r-x--  libmawt.so
00002aaabc787000    1020       0       0 -----  libmawt.so
00002aaabc886000       8       8       8 rwx--  libmawt.so
00002aaac0000000   65520   65520   65520 rwx--    [ anon ]
00002aaac3ffc000      16       0       0 -----    [ anon ]
00002aaac4000000   65524   50896   50896 rwx--    [ anon ]
00002aaac7ffd000      12       0       0 -----    [ anon ]
00002aaac8000000   65508   65476   65476 rwx--    [ anon ]
00002aaacbff9000      28       0       0 -----    [ anon ]
00002aaacc000000   65536   65512   65512 rwx--    [ anon ]
00002aaad0000000   65528   65504   65504 rwx--    [ anon ]
00002aaad3ffe000       8       0       0 -----    [ anon ]
00002aaad4000000   65508   65488   65488 rwx--    [ anon ]
00002aaad7ff9000      28       0       0 -----    [ anon ]
00002aaad8000000   65528   65528   65528 rwx--    [ anon ]
00002aaadbffe000       8       0       0 -----    [ anon ]
00002aaadc000000   65520   65492   65492 rwx--    [ anon ]
00002aaadfffc000      16       0       0 -----    [ anon ]
00002aaae0000000   65528   65500   65500 rwx--    [ anon ]
00002aaae3ffe000       8       0       0 -----    [ anon ]
00002aaae8000000   65520   65484   65484 rwx--    [ anon ]
00002aaaebffc000      16       0       0 -----    [ anon ]
00002aaaec000000   64092   64036   64036 rwx--    [ anon ]
00002aaaefe97000    1444       0       0 -----    [ anon ]
00002aaaf0000000   14944    9344    9344 rwx--    [ anon ]
00002aaaf0e98000   50592       0       0 -----    [ anon ]
00002b7717d75000       8       8       8 rwx--    [ anon ]
00002b7717d83000      28      16       0 r-x--  libjli.so
00002b7717d8a000    1028       0       0 -----  libjli.so
00002b7717e8b000       8       8       8 rwx--  libjli.so
00002b7717e8d000      12      12      12 rwx--    [ anon ]
00002b7717e90000    8440    6392       0 r-x--  libjvm.so
00002b77186ce000    1020       0       0 -----  libjvm.so
00002b77187cd000    1616     564     564 rwx--  libjvm.so
00002b7718961000     228     156     156 rwx--    [ anon ]
00007fffce650000      84      44      44 rwx--    [ stack ]
00007fffce6aa000      16       4       0 r-x--    [ anon ]
ffffffffff600000    8192       0       0 -----    [ anon ]
----------------  ------  ------  ------
total kB         4228376 2684036 2672320
[root@jbtest ~]#

And you have in detail WHERE that memory is being allocated.

—doug