Android 可用内存
每个应用程序有多少 RAM 可供使用?
我在某处读到每个应用程序最多只能使用 16 MB,但系统总内存要高得多。
How much RAM is available for use by each app?
I read somewhere that each app could only use a max of 16 mb, but the total system memory is much higher.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
每个应用程序的 Java 堆空间限制为 16MB,至少对于具有“普通”类屏幕的设备而言是如此。对于具有“大”级屏幕的设备,该限制显然已提高到 24MB,部分原因是此类屏幕可能会操作较大的位图,并且可能是为了权衡此类设备所需的最小设备 RAM 量。
Each application is limited to 16MB of Java heap space, at least for devices with "normal" class screens. That limit has apparently been bumped to 24MB for devices with "large" class screens -- in part because of larger bitmaps such screens might manipulate, and probably in a trade-off for the minimum amount of device RAM such devices will need to have.