From 5377c5bfde6ba62490417bb0a7d7c1be1151692e Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Thu, 10 Feb 2011 16:52:19 +0100 Subject: Correct auto-detection of default VM heap size. This patch removes the need for the -m core option. Instead, the RAM size is taken by default from qemu-hardware.ini. Also, the default value of vm.heapSize is no longer 16MB, it is now adjusted based on the RAM size (16/32/48 values) + Get rid of core -lcd-density option (use .ini file instead) Change-Id: I93919926b61a132c7943a1bb2c41f7a3ab7f2d2f --- android/avd/hardware-properties.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'android/avd/hardware-properties.ini') diff --git a/android/avd/hardware-properties.ini b/android/avd/hardware-properties.ini index 79263a1..a936603 100644 --- a/android/avd/hardware-properties.ini +++ b/android/avd/hardware-properties.ini @@ -24,6 +24,8 @@ # # Ram size +# Default value will be computed based on screen pixels +# or skin version name = hw.ramSize type = integer default = 0 @@ -162,9 +164,10 @@ description = Must be one of 120, 160 or 240. A value used to roughly describe t # Maximum VM heap size # Higher values are required for high-dpi devices +# Default will depend on RAM size. name = vm.heapSize type = integer -default = 16 +default = 0 abstract = Max VM application heap size description = The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes. -- cgit v1.1