Memory Analyzer (MAT) plugin not opening heap prof in MAT Eclipse 4.1.2 automatically

AZ_ picture AZ_ · Mar 13, 2012 · Viewed 8.1k times · Source
Eclipse SDK

Version: 4.1.2
Build id: M20120223-0900
Memory Analyzer 1.1.1.201108240735  Eclipse Memory Analyzer

Hi, I have updated my eclipse to latest version, also installed Eclipse MAT plugin but when I click "dump HPROF file" it doesn't opens in in MAT rather gives me option to save the HPROF file.

Previously it automatically opens it in eclipse MAT. Please tell me how to fix this ?

I have also switched to "Memory Analysis" perspective and tried to open HPROF file but it throws me following error

Error opening heap dump 'com.game.hprof'. Check the error log for further details.
Error opening heap dump 'com.game.hprof.hprof'. Check the error log for further details.
Unknown HPROF Version (JAVA PROFILE 1.0.3) (java.io.IOException)
Unknown HPROF Version (JAVA PROFILE 1.0.3)

Answer

idiottiger picture idiottiger · Mar 13, 2012

try this:

in eclipse -> windows -> preference -> android --> ddms -> HPROF Action menu

choose: open in eclipse