I had got out of memory exception error.I came to Know that I had a memory leak in my app. Thats why I installed MAT.and I dumped the hprof file.
But while opening that .hprof file I got error like...
Error opening heap dump 'ind.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)".
And I had converted the hprof file by using "hprof-conv fil.hprof file2.hprof". Its Showing like "hprof-conv" command not exists.And I have tried by setting Hprof Action to Open in eclipse in DDMS. But its not working.
You have to convert it first in order to use it in MAT.
you can use hprof-conv tool that is located at AndroidSDK/platform-tools/hprof-conv
hprof-conv android.hprof mat.hprof
Then try opening the converted file in MAT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With