Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid/iOS app memory limit (clarification) & Adobe Air
    text
    copied!<p>I have been searching these forums for an idea on memory limits imposed to applications created with the flex SDK and running in Android / iOS. I have looked into the following posts here:</p> <ul> <li><a href="https://stackoverflow.com/questions/4774271/how-can-an-android-app-use-256mb-of-ram">How can an Android app use &gt;=256Mb of RAM?</a></li> <li><a href="https://stackoverflow.com/questions/1702323/android-available-ram">Android Available Ram</a></li> <li><a href="https://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android">How do I discover memory usage of my application in Android?</a></li> </ul> <p>From what I understand there is an up to 32MB limit on applications, however running an Adobe Air app on Android was granting me a lot more than 32MB. I am quite confused regarding these notions of RAM, heap and "ROM". Aren't all those the same? Basically, what I would like to know is how much "RAM" can a process really access? </p> <p>From my test on Android, I assumed that it was a sum of the following items:</p> <ul> <li>The 32 MB heap space.</li> <li>The shared memory reclaimed by the OS by killing lower priority apps (?).</li> <li>The amount of free memory.</li> </ul> <p>I have also made some tests on iOS (app packaged using the flex SDK) and it seems that on an iPad (256MB of RAM), the application crashes after getting about 150 MB of RAM. </p> <p>I would be grateful if someone could provide me some clarifications, I am mainly looking for answers to fhe following questions:</p> <ol> <li>On Android, is this 16, 24, 32MB limit per application still in place?</li> <li>If it is, then does anyone know if the Air runtime is using C code to access more RAM? (I will check this on the Adobe forums as well).</li> <li>If the limit is not in place or I misunderstood it, what is the actual maximum amount of "RAM" a process can access, is it the sum of the element I mentioned above or is there some other formula?</li> <li>Does anyone know of the restrictions on the iOS platform (max amount of RAM per app)?</li> </ol> <p>Thanks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload