Its an old post, but still in most of the places i found out that an android app gets around 16-32 MB
memory
But when i check android Profiler
, it says that my app is currently using around 350 MB
memory on Samsung Galaxy S7
.
I get OutOfMemoryException
on my app a couple of times, I was curious why its happening. When i dig down a little i found out about 16-32 MB
limit, but in actual my app is using 350 MB
I want to know how much memory a normal android phone gives to each app, or is it a variable number, and if no app is running android will not give outOfMemoryException
, and if so many apps are in stack then there is a higher chance of OutOfMemoryException
But again there will be some limits.