summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhargav Upperla <bhargavuln@codeaurora.org>2013-05-23 12:50:15 -0700
committerArne Coucheron <arco68@gmail.com>2013-08-07 23:39:05 +0200
commit1b385b455c9bedcabcf8e21f3cf958b09cccc6a4 (patch)
tree5ccff6cfdfb64d054c0cd3301d109cce4f606f7e
parent437084c4ab0f649215abfbedcb38caeb56bdf3b8 (diff)
downloadframeworks_native-1b385b455c9bedcabcf8e21f3cf958b09cccc6a4.zip
frameworks_native-1b385b455c9bedcabcf8e21f3cf958b09cccc6a4.tar.gz
frameworks_native-1b385b455c9bedcabcf8e21f3cf958b09cccc6a4.tar.bz2
Configure dalvik heap parameters for low memory devices
Reduces after boot memory footprint by about 5-8MB Note: This is for low memory based devices only (~512MB RAM or less) Change-Id: I4b4b9ae3efaff96551457e566bbb9bd4f0f23fd5
-rw-r--r--build/phone-hdpi-512-dalvik-heap.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/phone-hdpi-512-dalvik-heap.mk b/build/phone-hdpi-512-dalvik-heap.mk
index 102c3f1..6b97545 100644
--- a/build/phone-hdpi-512-dalvik-heap.mk
+++ b/build/phone-hdpi-512-dalvik-heap.mk
@@ -21,6 +21,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=5m \
dalvik.vm.heapgrowthlimit=48m \
dalvik.vm.heapsize=128m \
- dalvik.vm.heaptargetutilization=0.75 \
+ dalvik.vm.heaptargetutilization=0.25 \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=2m