cancel
Showing results for 
Search instead for 
Did you mean: 

Java heap dump location

Former Member
0 Kudos

Hi Everyone.

How do I configure where I can output the java heap dumps?

Right now they're dumped in /tmp automatically.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Then you need to set the environment variable IBM_HEAPDUMPDIR for the <sid>adm user to the desired location. Then you will get the dumps there instead of /tmp.

Greetings, Myriana

Former Member
0 Kudos

thank you for your help!

Answers (2)

Answers (2)

Former Member
0 Kudos

Sorry the variable for IBM is IBM_HEAPDUMPDIR

Former Member
0 Kudos

We run on AIX OS.

Where would that be?

Former Member
0 Kudos

Hi Khaled,

It depends on what is the operating system and the jdk. For sun jdk:

-XX:HeapDumpPath=<directory where to save the heap dumps>

for IBM:

BM_HEAPDUMPDIR environment variable should be set to point to the desired location.

Greetings, Myriana