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.

Too much objects in snapshot

Moderators: Vladimir Kondratyev, Anton Katilin

Too much objects in snapshot

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

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.
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: 6053
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

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.