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.
I got the solution. I used “./hprof-conv file.hprof mat.hprof” instead of “hprof-conv file.hprof mat.hprof”
Thanks