Where is profiler heap dump located on macos?
-
- Posts: 1
- Joined: Thu Jul 01, 2021 11:40 am
Where is profiler heap dump located on macos?
I've got OOM opening large profile and now wondering where profiler's own dump is located -- I want to clean up space )
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Where is profiler heap dump located on macos?
From the Java documentation page https://docs.oracle.com/javase/8/docs/t ... ts001.html :
"By default the heap dump is created in a file called java_pidpid.hprof in the working directory of the VM ... You can specify an alternative file name or directory with the -XX:HeapDumpPath= option."
Please see the section "The -XX:HeapDumpOnOutOfMemoryError Option" for detail.
"By default the heap dump is created in a file called java_pidpid.hprof in the working directory of the VM ... You can specify an alternative file name or directory with the -XX:HeapDumpPath= option."
Please see the section "The -XX:HeapDumpOnOutOfMemoryError Option" for detail.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Where is profiler heap dump located on macos?
Just to clarify: do you want to locate the dumps for further analysis, or do not want them to be created at all?
If latter, please remove -XX:+HeapDumpOnOutOfMemoryError from <user home>/.yjp/ui.ini
If latter, please remove -XX:+HeapDumpOnOutOfMemoryError from <user home>/.yjp/ui.ini