sdm660-common: vendor_init: tune dalvik heap value

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Alcatraz323 2023-03-31 13:03:50 +08:00 committed by pix106
parent aa8149d07a
commit dd72e35192

View file

@ -91,7 +91,7 @@ void check_device() {
} else if (sys.totalram > 3072ull * 1024 * 1024) {
// from - phone-xxhdpi-4096-dalvik-heap.mk
heapstartsize = "8m";
heapgrowthlimit = "256m";
heapgrowthlimit = "192m";
heapsize = "512m";
heaptargetutilization = "0.6";
heapminfree = "8m";
@ -102,7 +102,7 @@ void check_device() {
heapgrowthlimit = "192m";
heapsize = "512m";
heaptargetutilization = "0.75";
heapminfree = "512k";
heapminfree = "2m";
heapmaxfree = "8m";
}
}