mahesh de

Greenhorn
+ Follow
since Apr 04, 2018
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by mahesh de

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.
6 years ago

mahesh de wrote:Is there any way to convert Android heap dump to J2SE (java heap dump) programmatically?



Hi Tim,

I am not sure about the exact difference between these two formats and I don't more information on this. According to the following site, both formats are similar but not exactly the same.

http://www.vogella.com/tutorials/EclipseMemoryAnalyzer/article.html
http://blog.novoda.com/debugging-memory-leaks-on-android-for-beginners-programmatic-heap-dumping-part-1/
6 years ago
Is there any way to convert Android heap dump to J2SE (java heap dump) programmatically?
6 years ago