Jmem is a java memory analysis tool.
Dependency:pmap,awk,gdb
Env:Linux
The example below will dump out all of the memory chunks between 65300K and 65537K.
#./jmem.sh [pid] 65300 65537
.
.
.
.
See the big memory content:
#cat /tmp/[pid]*.dump
Take care:
The file dumpped will be very big.Make sure the /tmp have enough space.
Dependency:pmap,awk,gdb,pstack,jstack
Env:Linux
The example below will dump out all of the memory chunks between 65300K and 65537K.And the result will show the address in jstack or pstack file.
#./pmap2stack.sh [pid] 65300 65537
.
.
.
Enjoy it!