Open eclipsewebmaster opened 6 months ago
By kinya yamada on Apr 24, 2014 21:33
And MY PC's RAM is 8G Byte
By Andrew Johnson on Apr 25, 2014 10:33
What is the exact stack trace of the error from Window > Error Log.\ What kind of dump is it (HPROF?, PHD?).\ The dump should have been parsed, so can you close the dump, then reopen it without running any report?\ Does the error recur if you then run the leak suspects report?
By kinya yamada on Apr 25, 2014 11:45
(In reply to Andrew Johnson from comment #2)
What is the exact stack trace of the error from Window > Error Log.
I will upload it on April 28
What kind of dump is it (HPROF?, PHD?).
It is HPROF
The dump should have been parsed, so can you close the dump, then reopen it without running any report?
Yes other report can open without any problem.
Does the error recur if you then run the leak suspects report?
YES ,run the leak suspects report\ and the dialog error window shows \ [\ An internal error occurred during: "default_report org.eclipse.mat.api:suspects". Java heap space\ ]
By Andrew Johnson on May 12, 2014 16:09
Opening a 1829MB IBM core file (Objects: 6,222,655 Heap size: 568,182,763) with Memory Analyzer with -Xmx300m and running the leak suspects report gave \ me the following error.
eclipse.buildId=unknown\ java.version=1.8.0_05\ java.vendor=Oracle Corporation\ BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB\ Command-line arguments: -os win32 -ws win32 -arch x86_64
Error\ Mon May 12 12:49:24 BST 2014\ An internal error occurred during: "default_report org.eclipse.mat.api:suspects".
java.lang.OutOfMemoryError: Java heap space\ at org.eclipse.mat.parser.internal.snapshot.MultiplePathsFromGCRootsComputerImpl.bfs(MultiplePathsFromGCRootsComputerImpl.java:174)\ at org.eclipse.mat.parser.internal.snapshot.MultiplePathsFromGCRootsComputerImpl.computePaths(MultiplePathsFromGCRootsComputerImpl.java:82)\ at org.eclipse.mat.parser.internal.snapshot.MultiplePathsFromGCRootsComputerImpl.getPathsByGCRoot(MultiplePathsFromGCRootsComputerImpl.java:107)\ at org.eclipse.mat.inspections.LeakHunterQuery.findCommonPathForSuspects(LeakHunterQuery.java:864)\ at org.eclipse.mat.inspections.LeakHunterQuery.execute(LeakHunterQuery.java:160)\ at org.eclipse.mat.query.registry.ArgumentSet.execute(ArgumentSet.java:132)\ at org.eclipse.mat.query.registry.CommandLine.execute(CommandLine.java:93)\ at org.eclipse.mat.report.internal.QueryPart.execute(QueryPart.java:96)\ at org.eclipse.mat.report.internal.SectionPart.execute(SectionPart.java:61)\ at org.eclipse.mat.report.TestSuite.execute(TestSuite.java:129)\ at org.eclipse.mat.report.internal.RunRegisterdReport.execute(RunRegisterdReport.java:50)\ at org.eclipse.mat.query.registry.ArgumentSet.execute(ArgumentSet.java:132)\ at org.eclipse.mat.ui.QueryExecution$ExecutionJob.run(QueryExecution.java:180)\ at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
By Andrew Johnson on May 13, 2014 12:47
I ran a leak suspects report on a dump generated by MAT itself in comment 4, and also looked at the memory occupied by Strings.\ Perhaps Field names should be commoned as Fields retain 82MB.
By Andrew Johnson on May 15, 2014 13:15
Another way a lot of memory could be used is in the Paths2GCroots query. From the same dump above I found the following.\ There 910,811 path entries held in 862.336 FIFO entries. Only a few of those paths are used in the HTML report.
| --- | --- | | Bugzilla Link | 433480 | | Status | NEW | | Importance | P3 normal | | Reported | Apr 24, 2014 21:31 EDT | | Modified | May 15, 2014 13:18 EDT | | Reporter | kinya yamada |
Description
OS:Window 7 professional\ JDK:jdk1.7.0_21 64bit\ mat Ver :MemoryAnalyzer-1.3.1.20140107-win32.win32.x86_64
MemoryAnalyzer.int \ [\ -startup\ plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar\ --launcher.library\ plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502\ -vm\ C:\Program Files\Java\jdk1.7.0_21\bin\java\ -vmargs\ -Xmx4g\ ]
I open a dump with 1.5G size and to open leak suspect report \ but the following error occurred.\ [\ An internal error occurred during: "default_report org.eclipse.mat.api:suspects". Java heap space\ ]