Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » cannot load hprof file with heap dump error(heap exhaust running analyzer...1.9)
cannot load hprof file with heap dump error [message #1808607] Thu, 27 June 2019 17:29 Go to next message
Bill Rodriguez is currently offline Bill RodriguezFriend
Messages: 1
Registered: June 2019
Junior Member
I am running Memory Analyzier 1.9 and getting the following:

An internal error occurred during: "Parsing heap dump from 'C:\Users\brodriguez\R4.7\java_pid121629.hprof'".
Java heap space

the file is 2.7gig...i have a 16gig windows 7 box and have about 70% memory avaiable...

I have spent several hours trying to figure this out with no luck...
I have tried:
-vmargs
-Xmx8g and 4g and 1024m -- -same result in the .ini file...

HELP!!

java.lang.OutOfMemoryError: Java heap space
at org.eclipse.mat.parser.index.IndexWriter.copyOf(IndexWriter.java:2013)
at org.eclipse.mat.parser.index.IndexWriter$Identifier.add(IndexWriter.java:93)
at org.eclipse.mat.hprof.HprofParserHandlerImpl.reportInstance(HprofParserHandlerImpl.java:689)
at org.eclipse.mat.hprof.Pass1Parser.readPrimitiveArrayDump(Pass1Parser.java:700)
at org.eclipse.mat.hprof.Pass1Parser.readDumpSegments(Pass1Parser.java:384)
at org.eclipse.mat.hprof.Pass1Parser.read(Pass1Parser.java:186)
at org.eclipse.mat.hprof.HprofIndexBuilder.fill(HprofIndexBuilder.java:80)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(SnapshotFactoryImpl.java:222)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:126)
at org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:147)
at org.eclipse.mat.ui.snapshot.ParseHeapDumpJob.run(ParseHeapDumpJob.java:83)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
Re: cannot load hprof file with heap dump error [message #1809560 is a reply to message #1808607] Thu, 18 July 2019 08:57 Go to previous message
Taly Elani is currently offline Taly ElaniFriend
Messages: 1
Registered: July 2019
Junior Member
Hi

This worked for me.
I'm trying to load a ~2.5gb heap dump on Windows 10 64-bit
1) Set higher xmx here : Control Panel > Java > Java tab > View.. > Runtime parameters. [I went crazy and set it to 20gb just for the load]

2) Go to ~/mat/MemoryAnalyzer.ini and set the -xmx parameter to the same value. (its the last parameter in the file)

3) Open MAT and try loading the file again.

Hopefully this helps.
Previous Topic:How to write MAT Custom Reports?
Next Topic:Pie chart does not display in overview tab of Memory Analyzer
Goto Forum:
  


Current Time: Sat Jan 25 12:08:29 GMT 2020

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

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

Back to the top