Android的内存使用量和堆的使用情况 [英] android memory usage and heap usage

查看:361
本文介绍了Android的内存使用量和堆的使用情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我看着我的应用程序在存储工具(如内存使用情况的应用程序),它显示了使用的内存33MB我的申请。

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

如果在调试我的应用程序,我进入DDMS,并期待在堆,它采取4MB。

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

所以在这一点上,我想知道,如果另一方29MB正在咀嚼增长。其次,我担心的是,我可以结束花了大量的时间尝试到4MB削减到像说2-3MB小得多,但几乎好像我把一个凹痕内存使用情况。让我怎么倒更显著获取内存使用情况?

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?

推荐答案

检查和discoer得当..........

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

http://elinux.org/Android_Memory_Usage

<一个href=\"http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android\">How发现我的Andr​​oid应用程序的内存使用情况

这篇关于Android的内存使用量和堆的使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆