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

Too much objects in snapshot

Moderators: Vladimir Kondratyev, Anton Katilin

Too much objects in snapshot

Postby ANZO » Sun Oct 21, 2018 5:35 pm

Hello.
I'm trying to open 128Gb hprof snapshot and get this error:
"This snapshot cannot be opened because it contains more than 2147483647 objects"
I tried to found smthng similar with this problem at forum, but nothing.
Thank you for answers in advance.
ANZO
 
Posts: 1
Joined: Sun Oct 21, 2018 5:12 pm

Re: Too much objects in snapshot

Postby Anton Katilin » Mon Oct 22, 2018 12:52 pm

Unfortunately, it's a fundamental limitation of the existing version that a snapshot with more than 2^32-1 objects cannot be opened.

As a workaround, please try to reduce the number of objects:
- reduce the heap size of the profiled application in attempt to reduce the number of objects it contains;
- explicitly force garbage collection several times in a row before capturing a snapshot (unreachable objects count too, so let them be collected).
Anton Katilin
 
Posts: 5825
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 17 guests

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.