A
A
alekseyHunter2019-08-31 11:53:17
Android
alekseyHunter, 2019-08-31 11:53:17

How much RAM does the app need?

I started testing an application for detecting memory leaks, I already fixed some, but the dynamics of memory allocation attracted my attention.
At the moment of launching new activities, consisting of 1 image (40kb) and 4 buttons, up to 40 MB of memory is allocated.
5d6a31d209392201181494.png
Is this amount of RAM normal?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2019-08-31
@alekseyHunter

There is no point in meditating on the memory consumption graph in such a situation. Use LeakCanary to find leaks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question