Hey guys, I'm a beginner IPad developer and am just getting familiar with objective-c and the CocoaTouch framework.
One thing that I've been wondering about now that I'm looking at memory management is if it's possible to ask the OS at any time about how much memory your application is using so that you can handle continued memory allocation based on it.
I'm not exactly sure what the max memory usage of an app is on the IPad. I've heard numbers from 80mb to 150mb for max usage for a single app and I understand you get memory warnings even before reaching 80mb.
If we knew a dependable figure for the max, would it be possible to check real time memory usage and make decisions to continue loading when usage is low and freeing when you get close to the limit?
Thanks for any tips on this!
One thing that I've been wondering about now that I'm looking at memory management is if it's possible to ask the OS at any time about how much memory your application is using so that you can handle continued memory allocation based on it.
I'm not exactly sure what the max memory usage of an app is on the IPad. I've heard numbers from 80mb to 150mb for max usage for a single app and I understand you get memory warnings even before reaching 80mb.
If we knew a dependable figure for the max, would it be possible to check real time memory usage and make decisions to continue loading when usage is low and freeing when you get close to the limit?
Thanks for any tips on this!