On Friday, February 25, 2011 8:12:29 PM UTC, Sheado wrote: > > ... > Dianne - that explains a lot, thank you. Is there any way to get an > accurate (bitmap included) picture of the heap in pre-honeycomb builds > of an app? >
Hi, You can use these functions; Runtime.getRuntime().totalMemory() android.os.Debug.getNativeHeapAllocatedSize()) The first one tells you how much memory is being used on the Dalvik heap and the second one tells you how much is being used on the native heap. Regards, Sean -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

