How to generate heapdump for jrocket 1.5 ?
The appliation of our company has memory leak problem, and we have to restart it once a week.
But i fail to generate heapdump by using jrcmd, and only get javacore/thread dump but no heapdump by adding +HeapDumpOnCtrlBreak
sorry for my poor english ...
these are details:
java version:
E:\bea\jrockit_150_15\bin>java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
BEA JRockit(R) (build R27.6.1-20-104573-1.5.0_15-20081016-1236-windows-ia32, compiled mode)
i found no hprofdump command in jrcmd
E:\bea\jrockit_150_15\bin>jrcmd.exe 50344 help
50344:
The following commands are available:
kill_rmp_server
start_rmp_server
kill_management_server
start_management_server
checkjrarecording
stopjrarecording
startjrarecording
print_object_summary
memleakserver
print_codegenlist
print_class_summary
run_optfile
dump_codelayout
dump_codelist
dump_codemap
print_utf8pool
print_properties
print_threads
datadump_request
runsystemgc
runfinalization
heap_diagnostics
oom_diagnostics
print_exceptions
version
timestamp
command_line
memprof
sanity
verbosity
set_filename
help
print_memusage
For more information about a specific command use 'help <command>'.
Parameters to commands are optional unless otherwise stated.
already added the -XX:+HeapDumpOnCtrlBreak option, but didn't work.
set JAVA_OPTIONS=%JAVA_OPTIONS% -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak -XX:HeapDumpPath=E:\bea\user_projects\domains\app_domain_bck
消息编辑者为:2953231