2

How much RAM is available for use by each app?

I read somewhere that each app could only use a max of 16 mb, but the total system memory is much higher.

jldupont
  • 93,734
  • 56
  • 203
  • 318
Darthg8r
  • 12,377
  • 15
  • 63
  • 100
  • 3
    The total RAM will be dependant on the device, different Android phones will have different amounts of RAM – Gavin Nov 09 '09 at 16:58
  • You should have posted that as an answer. – MattC Nov 09 '09 at 17:51
  • I'm not actually looking for the total amount RAM available, I'm asking if there is a sandbox that restricts each app to only using a certain amount of RAM. – Darthg8r Nov 09 '09 at 21:29

1 Answers1

4

Each application is limited to 16MB of Java heap space, at least for devices with "normal" class screens. That limit has apparently been bumped to 24MB for devices with "large" class screens -- in part because of larger bitmaps such screens might manipulate, and probably in a trade-off for the minimum amount of device RAM such devices will need to have.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491