When start Activity A, I found the memory usage of application is about 5MB,

Then start Activity B from A via startActivity. In Activity B, I created a 
thread, and                                  traverse file system in this 
thread, after traversing completed, call finish() and to return to Activity A. 
at this time, I found the memory usage of application is about 8MB (GC is 
forced before check memory usage).

How to find Where memory leaks?

By the way, I checked the memory usage with DDMS.

Thanks.



      

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to