sm6225-common: Use 8Gb dalvik heap size config
- Helps fix java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 2582544 free bytes and 2522KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC
This commit is contained in:
@@ -17,7 +17,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
||||
|
||||
# Setup dalvik vm configs
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-8192-dalvik-heap.mk)
|
||||
|
||||
# Inherit from the proprietary files makefile.
|
||||
$(call inherit-product, vendor/xiaomi/sm6225-common/sm6225-common-vendor.mk)
|
||||
|
||||
Reference in New Issue
Block a user