about HPROF files

  • KM00831634
  • 07-Apr-2014
  • 07-Apr-2014

Summary

.

Question

 
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.)
 

Answer

 
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"