Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2012mar30 Keywords: heap, native, max, maximum Warning: This is a few years old Q. What's the most memory an Android app is allowed to use? A. There is a slide at 4:40 in this Google IO 2011 talk http://dubroy.com/blog/google-io-memory-management-for-android-apps/ that says:G1 16M Droid 24M Nexus One 32M Xoom 48MThis is what getMemoryClass() will return on those devices and similar. I assume it went up in Android 3.x since its for tablets which have larger screens. Then in Android 4.x its probably larger too since hardware has improved. If you want to recompile you can apparently change it http://tordtech.blogspot.ca/2009/09/memory-limit-on-android.html
Add a commentSign in to add a comment