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 <sbordenave@gmail.com>
This commit is contained in:
parent
19e89d5f89
commit
e51c944939
1 changed files with 3 additions and 0 deletions
|
@ -18,5 +18,8 @@
|
||||||
<string-array name="configs_base">
|
<string-array name="configs_base">
|
||||||
<!-- ART heap compaction for cached apps -->
|
<!-- ART heap compaction for cached apps -->
|
||||||
<item>activity_manager/use_compaction=true</item>
|
<item>activity_manager/use_compaction=true</item>
|
||||||
|
|
||||||
|
<!-- Allow more cached apps in the background -->
|
||||||
|
<item>activity_manager/max_cached_processes=64</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue