Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 19:25:38 +0100
From:      cpghost <>
To:        Kris Kennaway <>
Subject:   Re: Speeding up exit(2)?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, Mar 15, 2009 at 05:57:47PM +0000, Kris Kennaway wrote:
> Wojciech Puchar wrote:
> >> By this stage mozilla is about 150MB with about 60MB resident, and swap
> >> is pushing 200MB.  *seriously* paging, just on flipping to another tab.
> >> Now close mozilla and watch top while it's shutting down.  Go and pour
> >> yourself a cuppa, there's no hurry ..
> > 
> > just tested with opera - the same. crappy software rulez ;)
> Yes, clearly web browsers should be optimized for speed of exiting.

That's correct.

Normally systematic freeing of resources is one of the best ways
to prevent memory leaks in long running programs, so it can't be
too bad to free/delete all malloc-ed/new-ed chunks upon exit.

But here, the opposite may be better: there should be a faster
way to exit, bypassing all manual and automatic cleaners. But that's
up to every single program and not OS'es business.

Thanks again for all the insight.

> Kris


Cordula's Web.

Want to link to this message? Use this URL: <>