OSDN Git Service

Dalvik heap size for a 10" xhdpi tablet.
authorDianne Hackborn <hackbod@google.com>
Thu, 2 Aug 2012 01:14:45 +0000 (18:14 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 2 Aug 2012 01:14:45 +0000 (18:14 -0700)
Change-Id: Ie47702cda764817e023464944cd6dc5352fc439e

build/tablet-10in-xhdpi-2048-dalvik-heap.mk [new file with mode: 0644]

diff --git a/build/tablet-10in-xhdpi-2048-dalvik-heap.mk b/build/tablet-10in-xhdpi-2048-dalvik-heap.mk
new file mode 100644 (file)
index 0000000..eeec219
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# Copyright (C) 2012 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Provides overrides to configure the Dalvik heap for a standard tablet device.
+
+PRODUCT_PROPERTY_OVERRIDES += \
+    dalvik.vm.heapstartsize=16m \
+    dalvik.vm.heapgrowthlimit=192m \
+    dalvik.vm.heapsize=768m