Fix issue #18683980: questions on LMK memory changes

Getting the denominator right is kind of important.

Change-Id: Iff02a0a95eccd1231042e4ea96011c8cee0fee02
This commit is contained in:
Dianne Hackborn
2014-12-10 09:56:48 -08:00
parent 5a267e72b2
commit 6466126ab0

View File

@@ -238,7 +238,7 @@ final class ProcessList {
if (Build.SUPPORTED_64_BIT_ABIS.length > 0) {
// Increase the high min-free levels for cached processes for 64-bit
mOomMinFreeHigh[4] = (mOomMinFreeHigh[4]*3)/2;
mOomMinFreeHigh[5] = (mOomMinFreeHigh[5]*7)/8;
mOomMinFreeHigh[5] = (mOomMinFreeHigh[5]*7)/4;
}
for (int i=0; i<mOomAdj.length; i++) {