Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DDMS and os show different memory info about my app

I'm working with the ddms to find memory leaks and other bugs. When tracking the memory I see a heap size of 30MB.

But when I go to device and check the memory in the application manager I see 70 MB.

Is it normal? What's the reason for this ?

Device : SamsunGalaxy GT9300

like image 829
Chen Kinnrot Avatar asked Oct 06 '22 06:10

Chen Kinnrot


1 Answers

Yes its normal, DDMS shows only running app memory. You can also try another tool like memory analyser tool(MAT). You see best result comparison to DDMS.

Here is the link.

like image 95
Satyam Avatar answered Oct 10 '22 01:10

Satyam