for a PC, the default heap size for Java is 258 MB. what 开发者_JAVA百科is the default heap size allocated to an Android application, say an activity starts and its created, how much memory does it get? I was curious since, phone has a limited memory space, would Google have decided a default memory allocation.
EDIT: I was proven wrong my information was out of date. Its device dependant. G1 - 16mb Xoom - 48mb
精彩评论