How to find out the memory usage of the currently running application in android?

I am working on memory usage for an application. I have many applications on my device. I can get the available memory using getMemoryInfo ().

My problem is that I want every application consumption and memory usage.

ex I have four applications,
1) abc
2) def
3) ghi
4) klm

Now I want to use / consume memory for each of them working on applications.

please help me find the memory consumption of an individual application and its distribution.

Thanks in advance.

+4
source share
1 answer

This is a good article that talks about memory profiling tools that can help you analyze application memory usage.

+1
source

Source: https://habr.com/ru/post/1440249/


All Articles