开发者

Heap size of JVM in Android [duplicate]

This question already has answers here: Android heap size on different phones/devices and OS versions (7 answers) Closed 10 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜