summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-12-12 01:37:43 -0800
committeralk3pInjection <webmaster@raspii.tech>2022-03-03 13:57:18 +0800
commit44114f693d0eb7e827711cb90b3c655e606a78b5 (patch)
treedfa4538ac42c0bf11b679f5d32d98a4da374ddea
parent3619bb35681085d4791ffe9364e464df41fba123 (diff)
overlay: core: Allow more cached apps in the background
Google has provisioned this on the Pixel 5 (RQ1A.201205.010) to utilize the 8 GB of RAM better, and I have also observed that a lightweight selection of apps was hitting the cached app limit before exhausting RAM on another device with 8 GB of RAM. This shouldn't cause adverse effects on devices with less RAM (e.g. 4 GB) as the low memory killer should kick in long before this limit on such devices. Change-Id: I9bc91c6b381942751fa22f9154a7aab735bada9c
-rw-r--r--overlay/ICEFrameworksOverlay/res/values/config.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/ICEFrameworksOverlay/res/values/config.xml b/overlay/ICEFrameworksOverlay/res/values/config.xml
index 15c9428..4fc5d2c 100644
--- a/overlay/ICEFrameworksOverlay/res/values/config.xml
+++ b/overlay/ICEFrameworksOverlay/res/values/config.xml
@@ -165,4 +165,7 @@
<item>com.linkedin.android</item>
<item>com.tencent.mm</item>
</string-array>
+
+ <!-- the number of the max cached processes in the system. -->
+ <integer name="config_customizedMaxCachedProcesses">64</integer>
</resources>