Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » Could not parse big heap file
Could not parse big heap file [message #11369] Fri, 17 July 2009 17:36 Go to next message
Michael Wang is currently offline Michael WangFriend
Messages: 1
Registered: July 2009
Junior Member
I have big heap dump file, nearly 3G. And I would like to use MAT to find
memory issue.

In XP window:
I downloaded
and try to parse the heap file.
But eclipse gives me out of memory issue due to big heap file.
I can only increase –Xmx to 1400m in MemoryAnalyzer.ini. If over 1400m, I
popup window indicating JVM terminated. Exit code=-1

I bet window eclipse can only support less than 1400m memory.

Then I try Unix version:

It gave following error when I try to use <heapdumpfile>

!ENTRY org.eclipse.osgi 4 0 2009-07-17 12:17:06.169
!MESSAGE Application error
java.lang.RuntimeException: Application "org.eclipse.mat.api.parse" could
not be found in the registry. The applications available are:
org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
org.eclipse.equinox.p2.metadata.repository.mirrorApplication ,,,,
org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
at faultApp(
at (
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework( 559)
at org.eclipse.equinox.launcher.Main.basicRun(
Re: Could not parse big heap file [message #11407 is a reply to message #11369] Sun, 19 July 2009 15:45 Go to previous message
Andreas Buchen is currently offline Andreas BuchenFriend
Messages: 123
Registered: July 2009
Senior Member
Hi Michael,

this number of objects (i.e. the size of the object graph) determines how
much memory MAT needs. On 32bit machines this can be a problem. The good
news, once you parsed the file on a bigger box, you can still analyze it
on the smaller 32bit box.

> Then I try Unix version:
> java.lang.RuntimeException: Application "org.eclipse.mat.api.parse" could
> not be found in the registry. The applications available are:

This error tells that the parsing application has not been found. The
application is inside the "org.eclipse.mat.api" bundle. Look for the
logging messages before this one. It should give you a reason why the
bundle has not been activated / resolved. Common problems are: installed
via unzip into Eclipse (run with -clean option), MAT requires Java5 but it
is run with a Java4, the native parts have not the right bitsize (e.g.
running 32bit MAT version on a 64bit Java).

To run MAT on 64bit using a 32bit download, follow these instructions (you
have to updated the version numbers!): run_on_64bit_VM_while_the_native_SWT_are_32bit
Previous Topic:Setting up MAT with eclipse
Next Topic:Classes from rt.jar loaded by different loaders ?
Goto Forum:

Current Time: Fri Sep 24 16:18:00 GMT 2021

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

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

Back to the top