Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Where is profiler heap dump located on macos?

Moderators: Vladimir Kondratyev, Anton Katilin

Where is profiler heap dump located on macos?

Postby Buktop80 » Thu Jul 01, 2021 11:42 am

I've got OOM opening large profile and now wondering where profiler's own dump is located -- I want to clean up space )
Buktop80
 
Posts: 1
Joined: Thu Jul 01, 2021 11:40 am

Re: Where is profiler heap dump located on macos?

Postby Anton Katilin » Fri Jul 02, 2021 6:42 am

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.
Anton Katilin
 
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am

Re: Where is profiler heap dump located on macos?

Postby Anton Katilin » Fri Jul 02, 2021 6:59 am

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
Anton Katilin
 
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.