Live data from Hacker News

Fixes to memory footprint and garbage collection arrive in Firefox 7

extremetech.com

41–44 of 44 posts

Re: Fixes to memory footprint and garbage collection arrive in Firefox 7

#41
post #39
post #15

Earlier quoted context omitted.

You have twice as much RAM as the people he was speaking of. I'd say 2GB is pretty low these days, glancing at Dell.com even the $499 entry level laptops are shipping with 4GB.

Wow... My laptop that I do most of my work on is packing 1GB. I guess I have had it for 4? 5? years. Of course, using things like wmii and Emacs help keep my memory usage down, but Firefox is making that harder.

RAM is cheap, is there a reason you haven't upgraded? My laptop has 8GB and it comes in handy quite a bit (for virtual machines especially).

Re: Fixes to memory footprint and garbage collection arrive in Firefox 7

#42

Earlier quoted context omitted.

It'll also ship this week to around 100,000 users who are already on the Aurora channel, and in just six weeks to literally millions of users on the beta channel. Firefox is an open source project. Part of our mission is to enable participation by the community, and that requires doing our work in the open and talking about it in public.

> Part of our mission is to enable participation by the community, and that requires doing our work in the open and talking about it in public. I completely respect that, and I have nothing against your philosophy whatsoever. However, I assume that Mozilla provides those who prefer to stay up to date using the dev builds with information about significant releases via other channels. Moreover, while Firefox obviously…

This is Hacker News, not End User News.

Re: Fixes to memory footprint and garbage collection arrive in Firefox 7

#44
post #32
post #26

While the improvements they're promising are certainly a Good Thing, one bit jumps out at me: "introduced a significantly improved about:memory page with buttons that can manually trigger garbage collection (GC) and cycle collection (CC)... hitting these buttons repeatedly — or by hitting “Minimize memory usage”, which triggers both processes three times in a row — you can reduce Firefox 6′s memory footprint signific…

If you had read the bug report and the discussion below it, you'd know that chunks of virtual memory (VM) are not freed to the OS immediately after they are empty, but are only freed after 3 GCs. That's actually an optimization; allocating VM is expensive, and doing it just after you've freed some is plain stupid. The problem with GCs is not that they don't actually work , it's that they are suited to a specific task…

After 20 seconds the browser perform this "idle-cleanup" for you and there is no need to press this button all the time if you want to minimize memory usage.
Post reply on HN