Android的可用内存内存、Android

2023-09-06 06:03:39 作者:活的像风没有归宿

多少RAM,可供每个应用程序使用?

How much RAM is available for use by each app?

我读的地方,每个应用程序只能使用最大16 MB,但总的系统内存要高得多。

I read somewhere that each app could only use a max of 16 mb, but the total system memory is much higher.

推荐答案

每个应用程序仅限于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.