[android-developers] Should ro.EMPTY_APP_MEM always be same as arguments in write /sys/module/lowmemorykiller/parameters/minfree
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 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
[android-developers] Re: Should ro.EMPTY_APP_MEM always be same as arguments in write /sys/module/lowmemorykiller/parameters/minfree
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
[android-developers] Issue: Manual switching of APN ’s when more than one APN Present
My provider requires two APN's to be configured manually. One for email (SMTP/POP traffic) and another for browsing (HTTP traffic). My issue is when I have chosen as the APN with EMAIL settings, I am able to use my email application but unable to browse using browser application. I have to switch to the APN with HTTP settings in order to get browser working. Conversely, when I'm using APN with HTTP settings. I am unable to use email application. Each APN works fine for it's intended use. Please let we know why android platform can’t activate both Access points at the same time? Is this because of any design consideration ?. Thank you so much guys... Regards, 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