Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Memory Analyzer: Unable to attach to 32-bit process

when trying to acquire a Heapdump of my eclispe rcp application with the Java Memory Analayzer I get the following error message:

Error creating heap dump. jmap exit code = 1
4120: Unable to attach to 32-bit process running under WOW64
The -F option can be used when the target process is not responding

OS: 64bit Windows7

Java Memory Analyzer: 64bit

Application: 32bit

I tried the 32 and the 64 bit variation and got the same error.

Cans oemone tell me what the problem is?

like image 791
Markus Avatar asked Jul 19 '13 10:07

Markus


1 Answers

This means that the jmap you are using is the one that is bundled with the 64 bit version of the JDK. If you are using this jmap to acquire a heap dump from a 32 bit JVM, then this error pops up.

Solution : Use the version of jmap that is bundled with the 32 bit JDK.

like image 123
suhridk Avatar answered Oct 07 '22 01:10

suhridk