Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Leak Suspect Report makes huge file(I wanted to make a Leak Suspect Report of a hprof file and got an html file which filled my SSD whoch)
Leak Suspect Report makes huge file [message #1839802] Mon, 29 March 2021 10:10 Go to next message
Jafet Roth is currently offline Jafet RothFriend
Messages: 4
Registered: March 2021
Junior Member
I was about to analyse a heap dump from my Moded Minecraft Server and the Leak Suspect Report never finished loading and I had to stop the programm caus my SSD was out of storage, becaus of the huge html file it produced.
Here you can see it in WinDirStat

index.php/fa/40238/0/

I used the standalone installation of Eclipse Memory Analyzer and got the Version 1.11.0

Uh and I cant uploade the hprof file becaus its 4 GB, but I will find a way to share it if necessary (which makes sense).

Also I made another heap dump of the same Server and with that one everything was fine. So it has to be a special problem with this particular dump I guess.
Re: Leak Suspect Report makes huge file [message #1839887 is a reply to message #1839802] Wed, 31 March 2021 07:07 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
That huge file is not right.
Is there a way you can extract the first part of the huge file ? You will need to delete one of those huge report directories so you have some free disk space and then run, for example, from PowerShell:

gc -Delimiter ">" -TotalCount 50000 .\28.html >28short.html


We can then see which part of the report is so big.

If you can compress the HPROF file (with zip, gzip etc. or in Windows send it to a compressed folder) then that might make the file more manageable to upload somewhere.
Re: Leak Suspect Report makes huge file [message #1839896 is a reply to message #1839887] Wed, 31 March 2021 10:19 Go to previous messageGo to next message
Jafet Roth is currently offline Jafet RothFriend
Messages: 4
Registered: March 2021
Junior Member
So I already deletet the hug files, but I made a new one with about 3 GB (I stopped the program there, should be enough I guess), compressed it to zip and also compressed the heap dump, which rly helped alot (why didn't I think about that) and uploaded both to
Dropbox: https://www.dropbox.com/sh/8pyvix1m7p86qf2/AAA6sGby2CIbiMC84weHMOWna?dl=0

Thank you so far.
Re: Leak Suspect Report makes huge file [message #1839903 is a reply to message #1839896] Wed, 31 March 2021 14:28 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Thanks. I think I have an idea what has gone wrong.

It is in 'Thread Stack and Involved Local Variables' where a tree is being continually expanded.
It is meant to show the thread, which is expanded to show the stack frames, and the the stack frames which have a reference to the leaking object, but the objects are being expanded too.

I have opened a bug:
572491: Leak Suspect Report makes huge file
Re: Leak Suspect Report makes huge file [message #1839905 is a reply to message #1839903] Wed, 31 March 2021 15:43 Go to previous messageGo to next message
Jafet Roth is currently offline Jafet RothFriend
Messages: 4
Registered: March 2021
Junior Member
Okay, interesting. This was also the heapdump I suspected Memory Leak (caus my Minecraft server ran out of Memory). Sorry I am more or less a noob, how do I search now for the leak, would be great if you know any good advice.

Thanks.
Re: Leak Suspect Report makes huge file [message #1839950 is a reply to message #1839905] Thu, 01 April 2021 21:13 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
I have made a fix. Please try a snapshot build to see if it fixes the problem with Memory Analyzer.
Re: Leak Suspect Report makes huge file [message #1840050 is a reply to message #1839950] Tue, 06 April 2021 07:46 Go to previous messageGo to next message
Jafet Roth is currently offline Jafet RothFriend
Messages: 4
Registered: March 2021
Junior Member
Yes it is fixed, no more huge files, thank you.
Re: Leak Suspect Report makes huge file [message #1843080 is a reply to message #1840050] Wed, 14 July 2021 13:59 Go to previous message
Electric Eel is currently offline Electric EelFriend
Messages: 2
Registered: June 2021
Junior Member
It all works for me) thank you)
Previous Topic:Mat Linux Command Line Usage with Discard Feature
Next Topic:HTML Report
Goto Forum:
  


Current Time: Mon Jan 13 18:30:13 GMT 2025

Powered by FUDForum. Page generated in 0.27269 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top