Re: ideas for returning memory to the OS
| Newsgroups | gmane.comp.mozilla.performance |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <5e97c5b9-ecf7-46e3-8f1b-de5bedbf1a55@d27g2000prf.googlegroups.com> |
On Dec 12, 7:14 am, Stuart Parmenter <[email protected]> wrote: > On Dec 11, 4:06 am, "[email protected]" <[email protected]> > wrote:> The main question is, are these already used by platform heap > > implementations? If they are, there's really nothing for us to do. > > Otherwise, we can use them, fairly easily in the case of our arena > > implementation(s). > > Yes. All platform heap implementations give memory back to the OS. If this is true, then we're in pretty good shape; all we need to worry about is ensuring that we minimize the fragmentation within pages and the platform allocators will release empty pages to the OS. I.e., my post that started this ill-fated thread was a non-issue. Sorry for the noise! Rob