Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Parsing Heap Dump Error in MAT
Parsing Heap Dump Error in MAT [message #897390] Tue, 24 July 2012 00:15 Go to next message
Mustafa Cayci is currently offline Mustafa Cayci
Messages: 3
Registered: July 2012
Junior Member
Hello,

I am using Windows 7 64Bit.

I have Eclipse

Eclipse Platform

Version: 3.6.2
Build id: M20110210-1200

I have MAT version 1.2.

I have a simple code that dumps heap

public class Main {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
List<String> list = new ArrayList<String>();
while (1<2){
list.add("OutOfMemoryError soon");
}
}
}

When I tried to open in MAT, I am getting below

An internal error occurred during: "Parsing heap dump from 'D:\workspace\8032.hprof'".
allocLargeObjectOrArray: [J, size 695654576

THank you for your help.
Mustafa
Re: Parsing Heap Dump Error in MAT [message #897914 is a reply to message #897390] Wed, 25 July 2012 12:31 Go to previous message
Jonathan Lawrence is currently offline Jonathan Lawrence
Messages: 16
Registered: July 2009
Junior Member
Hi Mustafa,

I am not able to reproduce the exact symptoms you are seeing. Can you provide some more details:
- What JVM version are you using with your Eclipse to run the test which produces the dump?
- What maximum heap size (-Xmx) are you using for your test application?
- What is the size of the .hprof dump which is written when your test application goes OutOfMemory?
- How much physical memory do you have available on your test machine?

Have you tried increasing the available heap size for Memory Analyzer (in the file MemoryAnalyzer.ini) change the entry -Xmx1024m to -Xmx4G or larger depending on the amount of memory available on your system.

Regards Jonathan.
Previous Topic:Help! com.ibm.j9ddr.InvalidDataTypeException: U_32 contains value larger than Integer.MAX_VALUE
Next Topic:Object references
Goto Forum:
  


Current Time: Fri Oct 24 08:38:00 GMT 2014

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

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