开发者

How to get external memory allocation in Honeycomb?

开发者 https://www.devze.com 2023-02-17 04:04 出处:网络
开发者_运维问答In pre-Honeycomb versions of Android I tracked external allocation of memoryVMRuntime.getRuntime().getExternalBytesAllocated() or with Debug.*ExternalAllocSize(). Now VMRuntime is not a

开发者_运维问答In pre-Honeycomb versions of Android I tracked external allocation of memory VMRuntime.getRuntime().getExternalBytesAllocated() or with Debug.*ExternalAllocSize(). Now VMRuntime is not available in Honeycomb and all Debug.*ExternalAllocSize() methods returns 0 as they remains only for compatibility reason. Anyone knows how to get external memory allocation in Honeycomb?


The external memory allocation feature was removed entirely from Honeycomb.

All allocations now appear on the managed heap.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号