cannot load hprof file with heap dump error [message #1808607] |
Thu, 27 June 2019 17:29  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.04198 seconds