Messages in this thread | | | Subject | Re: Memory hogs | Date | Fri, 16 Jul 1999 23:02:59 +0200 (MEST) | From | (Rogier Wolff) |
| |
Rik van Riel wrote: > On Fri, 16 Jul 1999 bernd.paysan@gmx.de wrote: > > Rik van Riel wrote: > > > Please don't. My little algorithm (with no overhead on a normal > > > system) works great -- it has been tested by simulation folks > > > who want a 16MB netscape killed in favor of their week-old, > > > 150MB simulation. > > > > Ok, I'll adapt your patch. The only gripe I have is that it > > doesn't send out warning shoots before, that allow tasks to quit > > nicely. > > That can be added without much effort. The real hard part has > been in getting the 'task chooser' right...
That really isn't easy.
You're in a "we're completely out of memory" situation already, and having the application clean up may mean it wants to rewrite its config files. Requiring buffers and other resources.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* ------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |