Search This Blog

Pages

Friday, April 16, 2010

Using Rational Purify to memory profile Java code

Following environment variable must be set to use Rational Purify for memory profiling of Java code

set _JAVA_OPTIONS=-XrunPureJVMPI:Purify -Xbootclasspath/a:c:\PROGRA~1\rational\PURIFY~1\Rational.jar;D:\workspace\stdlib\activation.jar;D:\workspace\stdlib\axis-ant.jar;

The above command should contain all dependency jars for the Java code separated by semi colon.

No comments:

Post a Comment