Skip to content

54chen/jmem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jmem

Jmem is a java memory analysis tool.

jmem.sh

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.

pmap2stack.sh

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!

About

Jmem is a java memory analysis tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages