How to find out the memory size of my Android application?

Well, the name says it.

It would also be useful to know how much memory is still available. I am writing a hungry application that tends to crash randomly (in its own code), and my suspicion is that it goes out of memory.

+3
source share
5 answers

I think it will be difficult for you to find a more complete answer than on this topic:
How do I know the memory usage of the application in Android?

+4
source

hackbod. , , .
NULL , ​​ overcommit.
, , lowmemory (onLowMemory()), , .

+3

Android - . , . , ( , ), , , , .

, , - .

+1

, OutOfMemoryException, System.gc(), , . , JNI, , ++ - .

0

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


All Articles