android memory usage and heap usage

流过昼夜 提交于 2020-01-17 03:49:07

问题


when I look at my application in a memory utility (like Memory Usage app), it shows my application using 33MB of memory.

If while debugging my app, I go into DDMS and look at the heap, it's taking 4MB.

So at this point, I'm wondering where the other 29MB is being chewed up by. Secondly, my concern is that I could wind up spending a huge amount of time trying to trim that 4MB to something much smaller like say 2-3MB, but that hardly seems like I'm putting a dent in the memory usage. So how do i get that memory usage down much more significantly?


回答1:


check and discoer it properly..........

http://elinux.org/Android_Memory_Usage

How do I discover memory usage of my application in Android?



来源:https://stackoverflow.com/questions/7613910/android-memory-usage-and-heap-usage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!