Eclipse MAT Parsing 11GB Heap dump - Out Of Memory. Unable to parse the heap dump

VGajjala picture VGajjala · Oct 16, 2012 · Viewed 10.5k times · Source

I was trying to parse the 11GB heap dump using Eclipse MAT and I am getting the following error

  An internal error occurred during: "Parsing heap dump" 

I think the MAT is unable to parse such a huge heap dump. I read some posts and increase the VM configurations to more than 80% of the dump size. Following are my vm configurations

      -vmargs -Xms8192m -Xmx10240m 

and I am still not able to load the dump. I tried with ParseHeapDump.bat with no changes ...

Answer

artbristol picture artbristol · Oct 17, 2012

Keep increasing Xmx till the JVM complains, then increase your swap file size, then increase Xmx again, etc.

At that stage it will take ages because it will be using disk as RAM.