Programming Tips - What's the most memory an Android app is allowed to use?

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 48M
This 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