how can i see how much memory my app is using out of its VM budget?
I've looked in DDMS but didn't see anything. Thanks. You should have clicked "Update Heap" button in DDMS in Devices view. You see only about 3Mb (which is great btw) because the VM allocates just as much as it needs. If you start loading images in your app you'll see it grow. When it reaches 16 (for 320x480 devices) or 24 (for larger devices) Mb, you'll get an OutOfMemory error Someone Somewhere sergiu posted some code here: How do I detect the heap size usage of an android application 来源: https://stackoverflow.com/questions/4516645/how-can-i-see-how-much-memory-my-app-is-using-out-of-its-vm