How much memory can an iPhone app use?

前端 未结 4 2207
后悔当初
后悔当初 2020-12-17 19:02

Can anyone link me to a page that describes memory allocations for iPhone apps.

I have heard that you are limited to a sandbox of ~20 megs, depending on the state of

4条回答
  •  别那么骄傲
    2020-12-17 19:40

    I believe it's

    • Memory warnings at 20MB
    • Application "crashes" at 30MB

    I'm fairly certain I saw this in The iPhone Developer's Cookbook: Building Applications with the iPhone SDK by Erica Sadun (amazing book, btw).

    Also: Duplicate -> Maximum runtime memory available in iPhone and iPod?.

提交回复
热议问题