Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2489b1d8 authored by Trishool Narayanasetty's avatar Trishool Narayanasetty Committed by Gerrit - the friendly Code Review server
Browse files

frameworks/base: Make minfree values optimal for 32bit devices

This change makes lowmemorykiller minfree values optimal for 32bit
devices. Arrived at these values after evaluating UX and launch
latencies.

Change-Id: Ia797ead2d330ec3347ee964ac5ec3dd6513134a4
parent de550cea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -207,8 +207,8 @@ final class ProcessList {
    };
    // These are the high-end OOM level limits for 32bit 1 GB RAM
    private final int[] mOomMinFreeHigh32Bit = new int[] {
            73728, 92160, 110592,
            129024, 177012, 227012
            61440, 76800, 92160,
            107520, 137660, 174948
    };
    // These are the low-end OOM level limits.  This is appropriate for an
    // HVGA or smaller phone with less than 512MB.  Values are in KB.