Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ideal memory usage amounts for iOS apps

What ranges could be considered Low, Medium, and High in memory usage?

As my app becomes more complex, I notice this number getting higher. I've been trying to use this number as an indicator to how efficiently I'm coding but I've realized I have no bar to compare it with.

How to understand Memory Usage says 1024 Mb to an iPhone/iPad, but obviously all of this memory can't go to the app.

like image 966
Chameleon Avatar asked May 15 '15 06:05

Chameleon


People also ask

How much RAM should iOS app use?

Beta versions of iOS 15 and iPadOS 15 now give developers the option of requesting more RAM than the current 5GB maximum per app, with limitations. Apple has always set a cap on how much RAM any one app can use on the iPad, but it's become more of an issue as the devices themselves physically include more.

How much memory is too much for iOS app?

16GB of RAM is the highest amount of RAM ever offered in an iPhone or iPad, and the 5GB limitation means that apps aren't able to utilize even half of what the iPad Pro has to offer.

How much memory should an application use?

“Standard” apps use between 130MB and 400MB of RAM.

How much RAM does iOS 15 require?

Apple's iPadOS 15 will allow apps to use as much as 12GB of RAM. Currently, apps are limited to just 5GB.


1 Answers

You could get(a pretty nice) overview from this SO question. It won't show you low-medium values, but if you know the limit you can adjust below limit.

If you are near the limits in some view - override didReceiveMemoryWarning and dispose resources accordingly.

My advise is to test always on device, as simulator need a lot memory just because of it's architecture and it's not relative to real devices.

like image 73
hris.to Avatar answered Nov 03 '22 10:11

hris.to