Self-Solve Knowledge Search

Minimize Maximize
about HPROF files
Title :
about HPROF files
Document ID :
KM00831634
Product - Version:
application performance management (bac) ;
OS :
Updated :
Mon Apr 07 14:46:57 GMT 2014
Summary :
.
 
These are Java heap space dump files, normally they will be written normally to App main bin folder (BSM/bin or SiS/bin) or java/bin folder, but you can customize this with JVM arguments (also turn it off):  http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
 
 
-XX:HeapDumpPath=./java_pid<pid>.hprof
Path to directory or filename for heap dump.Manageable. (Introduced in 1.4.2 update 12, 5.0 update 7.)
-XX:-HeapDumpOnOutOfMemoryError
Dump heap to file when java.lang.OutOfMemoryError is thrown. Manageable. (Introduced in 1.4.2 update 12, 5.0 update 7.)
 
Solution
 
The HPROF files themselves are controlled by each individual process run file.
For example, for RTSM this file  will be HPBSM\Bin\Odb_run.bat
 
Below there is a way to change the location of the HPROF files :
 
SET SM_GC_OPTS=-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent
cd /d "%TOPAZ_HOME%\bin"