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:
markakash
2024-07-10 10:26:15 +00:00
committed by Liekoo
parent 55f4f5b4d4
commit af15a94a61

View File

@@ -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)