HelloMoon
HelloMoon

Reputation:

What's the maximum memory footprint in MB for an typical iPhone app?

I know this is a subjective question. As far as I know, there are somewhat about 25 MB available for the app, but it depends on what else is going on. Currently playing music, a current phone call or what ever might drop that amount of memory down a lot. I don't know.

Just tell us what you think, or what you have experienced. My app currently consumes about 15 MB at a time, mostly lots of images loaded into views for animation. I have encountered no problems with this. But is there some "border" that can be drawn, to make a simple-to-follow rule like "do not consume more than x MB of memory at any given time", where x stands for the max amount?

Upvotes: 0

Views: 1298

Answers (3)

Shahul3D
Shahul3D

Reputation: 2149

Recently I found this awesome tool to find what is the maximum memory capacity of any iOS device. We can also find at which memory level we received the Low Memory warning.

here is the link: https://github.com/Split82/iOSMemoryBudgetTest

Upvotes: 0

tc.
tc.

Reputation: 33592

You can use Instruments and launch some apps and find out for yourself.

Upvotes: 0

coneybeare
coneybeare

Reputation: 33101

This value highly varies per device and per user. For example, I restart my phone every few days, freeing up lost memory claimed by Apple and 3rd party leaks. My mother, has not restarted her phone ever on her own. EVER. She has tons of trouble with apps, gives me a call and I tell her to restart the phone to increase the ram. She does and the apps dont crash anymore.

Moral of the story is: Never plan on having available memory. You should always keep your memory down to the bare minimum you need at any given time.

Upvotes: 2

Related Questions