Quitada ブログ HAX

Hatena Blog でも Quitada ブログ

Tool to find slow memory leak of java applications - version 0.4

I'm pleased to announce that I've released the version 0.4 of the following my tool to find slow memory leak of java applications.

Tool to find slow memory leak of java applications

 

You can download the jar file of version 0.4 from here(src)(Javadoc). You can just execute this as a Java appliction with adding this jar file to CLASSPATH. The usage is similar to UNIX diff command like the following.


-----
java quitada.JavaObjectDiff [java histogram file before memory leak] [java histogram file after memory leak]
-----

 

And also, this release is built as a runnable jar. So you can execute this tool with the following command line.

-----

java -jar JavaObjDiff-v0.4.jar [java histogram file before memory leak] [java histogram file after memory leak]

-----

 

I added the following new features with this release.

  • Sort only mode: you don't have to specify two java histogram file. If you just specify one histogram file, this tool just sorts each lines according to option setting.
  • CSV mode: You can get results based on comma-separated-value with adding "--format:csv" option.

For details of new options, please execute the following command with --help options.

-----

java -jar JavaObjDiff-v0.4.jar --help

-----