开发者

Anybody knows why the returned of getNativeFreeHeapSize() is different from memFree info using adb shell cat /proc/meminfo

I thought both should return free开发者_运维问答 memory size


This might have something to do with Bitmap pixel data being allocated inside Native heap, although it is counted towards Dalvik heap.(pre honeycomb)

I recommend checking this:

http://www.youtube.com/watch?v=_CruQY55HOk

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜