Is there a list of Android devices and their heap size?
Not that I knew.
Can I just assume that all devices with 512 MB RAM have 32M heaps?
Heap size recommendations are more dependent on Android OS release and screen size. The release of Android OS and screen size also affect the minimum effective RAM on the device. Thus, the concepts are weakly correlated, but what is it.
I need a list so that I can determine mainly if there are Android 2.2+ with a bunch of 16 MB.
AFAIK, you cannot exclude this combination. In the end, please remember that Android is open source, so modified ROMs can configure heap sizes, but they want to. At least one IIRC allows the user to select a heap size. And there are no rules regarding device RAM or heap size in the compatibility definition document, so device manufacturers can try the odd combinations.
source share