From e51c944939b4423fec1c0535e88b843b4da919da Mon Sep 17 00:00:00 2001 From: kdrag0n Date: Sun, 15 May 2022 23:20:39 +0200 Subject: [PATCH] sdm660-common: overlay: 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 Signed-off-by: pix106 --- overlay/packages/apps/SimpleDeviceConfig/res/values/config.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/overlay/packages/apps/SimpleDeviceConfig/res/values/config.xml b/overlay/packages/apps/SimpleDeviceConfig/res/values/config.xml index f27d5136..1ce57f79 100644 --- a/overlay/packages/apps/SimpleDeviceConfig/res/values/config.xml +++ b/overlay/packages/apps/SimpleDeviceConfig/res/values/config.xml @@ -18,5 +18,8 @@ activity_manager/use_compaction=true + + + activity_manager/max_cached_processes=64