Paul Clapham wrote:
mahesh de wrote:Is there any way to convert Android heap dump to J2SE (java heap dump) programmatically?
I'm surprised you ask that, given that the second link you posted answers your question (answer: Yes) and goes on to show you how to do it.
Currently I am using hprof-conv tool to convert android heap dump into J2SE standard heap dump. From java I am executing following command in background
hprof-conv <<path-of-android-heap-dump>> <<path-to-store-converted-file>>.
I am looking for other solutions where I don't need to interact with command prompt.