Does anyone know if the heap size on Android phones is a constant value according to what is set in the OS version or if this is a setting which the phone producers can decide on?
Is the heap size proportional to the amount of RAM on the phone?
I've only found articles where people say that the heap size of an application is 16M. However, these articles are a bit old. From what I see, as an example, heap sizes vary from around 20M up to 24M on one specific model. This phone has 768M of RAM.
Some more device info extracted from build.prop files (adb -d pull /system/build.prop):
Phones (Android Version):
Tablets (Android Version):