Hoosgot

Send your wishes and desires out into the ether.

Hoosgot header image 2

Memory on the iPhone

November 27th, 2008 · No Comments

http://vafer.org/blog/20081128082605 asks Hoosgot,

Now here is the question: How much memory does the iPhone have? How much memory is OK for applications to use? Curious as I am I did some research and wrote a little test project. This got me some odd results. According to what you find on the net the iPhone has a total memory size of 128 MB and your application should not use more than 46MB of it. But what happens exactly when you try to obtain more? So I wrote a little application that continuously allocates more and more memory. In fact it mallocs/frees the memory on every timer tick. Now this is where it gets odd. While the sysctl() calls do report something around 128MB of

Visit the blog to lend your wisdom, or you can comment below.

Tags: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment