-XX:HeapDumpPath=/path/to/heap.dump
-----Original message-----
> From:Marek Miglinski <[email protected]>
> Sent: Wed 18-Jul-2012 19:51
> To: [email protected]
> Subject: location of Java heap dumps
>
> Hi all,
>
> I have a setting of -XX:+HeapDumpOnOutOfMemoryError on all nodes and I don't
> have permissions to add location where those dumps will be saved, so I get a
> message in my mapred process:
>
> java.lang.OutOfMemoryError: Java heap space
> Dumping heap to java_pid10687.hprof ...
> Heap dump file created [1385031743 bytes in 30.259 secs]
>
> Where do I locate those dumps? Cause I can't find them anywhere.
>
>
> Thanks,
> Marek M.
>