OSDN Git Service

Increase growth limit from 64m to 80m for 1024mb hdpi tablet
authorMathieu Chartier <mathieuc@google.com>
Thu, 11 Dec 2014 17:56:31 +0000 (09:56 -0800)
committerMathieu Chartier <mathieuc@google.com>
Thu, 11 Dec 2014 21:40:37 +0000 (13:40 -0800)
Prevents apps hitting oome due to old linear alloc objects being
allocated in the java heap causing the heap to be larger than it
used to be.

Bug: 18707227

Change-Id: Ia49a7e6b24ae9fba1961d600d4599c17313b556b

build/tablet-7in-hdpi-1024-dalvik-heap.mk

index 5bbd2b0..7fd34b5 100644 (file)
@@ -18,7 +18,7 @@
 
 PRODUCT_PROPERTY_OVERRIDES += \
     dalvik.vm.heapstartsize=8m \
-    dalvik.vm.heapgrowthlimit=64m \
+    dalvik.vm.heapgrowthlimit=80m \
     dalvik.vm.heapsize=384m \
     dalvik.vm.heaptargetutilization=0.75 \
     dalvik.vm.heapminfree=512k \