On Thu, Oct 1, 2009 at 6:17 AM, Anton Muhin <[email protected]> wrote:

> Dear chromers!
>
> Do we have some notification mechanism for low memory event?
>
> If not, are you fine if I add it?  It would be completely optional and
> I would only implement it for tcmalloc (most probably invoking before
> TCMalloc_SystemAlloc another block).


You should track the work I'm about to do with "MemoryPurger", a class that
is designed to dump memory from everywhere possible.  I am initially going
to implement it to do this when the system is about to sleep.  Doing part of
this on low memory, or after long idle, or after background renderers get
paged out, is also a useful area of investigation.

The CL to add the initial, do-nothing framework will go up for review
shortly.

PK

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to