Skip to Content
0
Former Member
Aug 31, 2007 at 09:13 AM

Can't find Java Heap Dump hprof file

1166 Views

Hi,

I am encountering Out Of Memory crashes on my EP J2EE and want to use the SAP Java Memory Analyzer tool to have a look at the Java Heap Dump.

If found a couple of blogs and wikis about how to get a Heap DumP

1. In SAPMMC right-click on the JEE Server process and select Dump Stack Trace

2. JVM parameter -XX:+HeapDumpOnOutOfMemoryError

The dump file should then be generated as

filename:

java_pid<pid>.hprof.<unique number>

folder:

/usr/sap/<system>/JC<instance>/j2ee/cluster/server<node>/

or /usr/sap/<system>/JC<instance>/j2ee/work

I tried a lot but could not finde a hprof file anywhere.

Free disk space on server drive is 166 GB (drive D:). JVM binaries are located on C: where 5 GB are free.

JVM is Sun j2sdk1.4.2_12

Does anyone have a hint where the dump file is written?

Can this be configured?

Best regards

Ingo