Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Error creating heap dump
Error creating heap dump [message #651463] Mon, 31 January 2011 09:03 Go to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi All,

I have installed MAT and MAT charts on Eclipse Helios which is a 64 bit one.My JDK is also 64 bit one.

When i try to acquire a heap dump of my process using HPROF jmap dump provider i get the following error.


Error creating heap dump. jmap exit code = 1
7976: Unable to attach to 64-bit process

Please help me to resolve the error.

Thanks and Regards,
Saurav



Re: Error creating heap dump [message #651529 is a reply to message #651463] Mon, 31 January 2011 15:04 Go to previous messageGo to next message
Jonathan Lawrence is currently offline Jonathan LawrenceFriend
Messages: 16
Registered: July 2009
Junior Member
Hi Saurav,

Could you provide any more details of your environment, eg what platform are you running on (Windows/Linux) and what JRE/JDK are you using for Eclipse/MAT and the target Java application?

Thanks,
Re: Error creating heap dump [message #651539 is a reply to message #651463] Mon, 31 January 2011 15:29 Go to previous messageGo to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 161
Registered: July 2009
Senior Member
It may be that we try to trigger the heap dump using the wrong JDK. Can you try to explicitly configure the 64 bit one to be used? You can do this in the "Aquire Heap Dump Dialog" if you click the "Configure ..." button.

Let me know if this helps.

Krum
Re: Error creating heap dump [message #651697 is a reply to message #651463] Tue, 01 February 2011 10:40 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Thanks folks for the replies.
Due to time constraints i moved back to a 32 bit system and its working fine there.
I will check the 64 bit configuration though and will let you know.

cheers,
Saurav


Previous Topic:Stack trace for memory accumulation points
Next Topic:Heapdump is too small
Goto Forum:
  


Current Time: Mon Sep 24 17:02:44 GMT 2018

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

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

Back to the top