Skip to content
Snippets Groups Projects
Unverified Commit 9e03ab56 authored by Simao Gomes Viana's avatar Simao Gomes Viana Committed by Simão Gomes Viana
Browse files

Add dalvik-heap device configs for 8/12/16 GiB devices


Change-Id: Icdfd3512a79d9935d3fdb611c96dc8fd91a5e1c5
Signed-off-by: default avatarDennySPB <dennyspb@gmail.com>
Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Simão Gomes Viana's avatarSimao Gomes Viana <simao@halogenos.org>
Signed-off-by: default avatarSimão Gomes Viana <devel@superboring.dev>
parent 00199eb0
No related branches found
No related tags found
No related merge requests found
#
# Copyright 2019 The Android Open Source Project
# Copyright 2019 The halogenOS 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 12 GiB phone
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=24m \
dalvik.vm.heapgrowthlimit=384m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.42 \
dalvik.vm.heapminfree=8m \
dalvik.vm.heapmaxfree=56m
#
# Copyright 2019 The Android Open Source Project
# Copyright 2019 The halogenOS 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 16 GiB phone
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=32m \
dalvik.vm.heapgrowthlimit=448m \
dalvik.vm.heapsize=640m \
dalvik.vm.heaptargetutilization=0.4 \
dalvik.vm.heapminfree=16m \
dalvik.vm.heapmaxfree=64m
#
# Copyright 2019 The Android Open Source Project
# Copyright 2019 The halogenOS 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 8 GiB phone
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=24m \
dalvik.vm.heapgrowthlimit=256m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.46 \
dalvik.vm.heapminfree=8m \
dalvik.vm.heapmaxfree=48m
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment