This is all rewritten in ICS.

On Fri, Oct 14, 2011 at 9:23 AM, vishnu vardhan reddy madduri <
[email protected]> wrote:

> Dear Google Team and all,
>
> Is it really needed that values
>
>    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
>
> should always be synced with  write /sys/module/lowmemorykiller/
> parameters/minfree 2048,3072,4096,6144,7168,8192
>
> What I still do not fully understand is why does init.rc script write
> the values to the property service. I did a searched over the complete
> Android source tree for these keys (FOREGROUND_APP_MEM,
> VISIBLE_APP_MEM, ...) but the only occurances I found were in
> "com.android.server.am.ActivityManagerService.java " where they are
> read into final int fields which seem to be never referenced anywhere.
> Then What is the need from getting those properties in first place.
>
>
>
>
>
>
>
>
>
>
>
>
>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to