> > So how useful HPROF is? If it's impossible to tell if an object is > sitting there because the VM hadn't gotten around collecting it yet or > because it's being leaked, I'd say it's not very useful. >
It is useful, just look at the GC roots of an object to know whether it will be collected or not. We use hprof all the time on the Android team to track down memory issues (leaks or not) and we find it extremely valuable. It becomes even easier to use when you rely on a visualization tool like MAT. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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