The kernel log will print messages as the android low memory killer is running, such as:
<4>[46467.841278] select 1215 (app_process), adj 15, size 3265, to kill <4>[46467.848052] select 1319 (app_process), adj 15, size 3279, to kill <4>[46467.854583] select 1368 (app_process), adj 15, size 3286, to kill <4>[46467.861297] select 2901 (app_process), adj 15, size 4791, to kill <4>[46467.867828] send sigkill to 2901 (app_process), adj 15, size 4791 On Mon, Oct 12, 2009 at 12:22 PM, Anthony <[email protected]> wrote: > > I'm not sure. Is there a way to check on a running phone via a shell? > Otherwise, I guess I can sprinkle some printk's in the > lowmemorykiller.c. > > Thanks > > On Oct 12, 1:27 pm, Dianne Hackborn <[email protected]> wrote: > > The limits are set with init.irc. Note that the default limits for level > 14 > > and 15 are quite hight, so if the problem is just the limits it means the > > working set for your build of Android is significantly larger than that > of > > the stock system. Have you made sure that you have the android out of > > memory killer built in your kernel? > > > > > > > > On Thu, Oct 8, 2009 at 3:16 PM, Anthony <[email protected]> wrote: > > > > > The device I'm working on isn't killing processes early enough, and I > > > was wondering where I can change this limit. It seems like mm/ > > > page_alloc.c and mm/oom_kill.c are related, but I don't understand the > > > "zone"s involved. > > > > > My device starts having a ton of page faults and visually lagging, but > > > there are numerous processes with oom_adj 14 and 15, so I was hoping > > > there was an easily adjustable value I could play with to see what > > > gives a better experience. > > > > > Thanks > > > > -- > > 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. > > > -- 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. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---
