Im trying to check for memory leaks by using a HPROF File from eclipses DDMS view.
I tried using MAT to read a .hprof saved to disk but got error:
Error opening heap dump 'com.myapp.myapp.hprof'. Check the error log for further details.
Error opening heap dump 'com.myapp.myapp.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)
So i followed a solution in another post on StackOverflow which told me to change the preferences
Android > DDMS > HPROF Action : View In Eclipse
But that just displays the file as an unreadable text file:
Im assuming its supposed to be easier to understand than that so what am I doing wrong?
EDIT
I read in other posts about using something called hprov-conv.exe i tried to open that, it flashed a screen then closed (even when opening as an administrator) so i dont know how to use that.
The "Open in Eclipse" option will only work if you are using the MAT Eclipse plugin. The MAT Downloads page shows the "Update Site" link, which you can add to Eclipse via Help > Install New Software > Add.