Hi Dianne Hackborn,

Do you mean to say

    setprop ro.FOREGROUND_APP_MEM 2048
    setprop ro.VISIBLE_APP_MEM 3072
    setprop ro.PERCEPTIBLE_APP_MEM 4096
    setprop ro.HEAVY_WEIGHT_APP_MEM 4096
    setprop ro.SECONDARY_SERVER_MEM 6144
    setprop ro.BACKUP_APP_MEM 6144
    setprop ro.HOME_APP_MEM 6144
    setprop ro.HIDDEN_APP_MEM 7168
    setprop ro.EMPTY_APP_MEM 8192

is not used till Gingerbread and oom killer[handler] will only kill
process based on values written to files
/sys/module/lowmemorykiller/parameters/adj
and
/sys/module/lowmemorykiller/parameters/minfree with help of
ActivityMangerService which sets the oom_adj of processes to put them
in the correct
class for their current operation.

In ICS it rewritten to use ro.EMPTY_APP_MEM and other Properties
values from UserSpace to adjust oom_adj values.

Thanks,
vishnu .


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to