{"id":585,"date":"2008-06-03T17:23:52","date_gmt":"2008-06-03T17:23:52","guid":{"rendered":"http:\/\/neosmart.net\/blog\/2008\/firefox-3-is-still-a-memory-hog\/"},"modified":"2013-08-26T18:18:22","modified_gmt":"2013-08-26T23:18:22","slug":"firefox-3-is-still-a-memory-hog","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/firefox-3-is-still-a-memory-hog\/","title":{"rendered":"Firefox 3 is Still a Memory Hog"},"content":{"rendered":"<p>One of the biggest \u201cimprovements\u201d that Mozilla claims has <a href=\"http:\/\/www.mozilla.org\/en-US\/firefox\/3.0rc1\/releasenotes\/\" rel=\"follow\">made its way into Firefox 3<\/a> is improved memory usage, in particular, the vanquishing of memory leaks:<\/p>\n<blockquote>\n<p>Memory usage: Several new technologies work together to reduce the amount of memory used by Firefox 3 over a web browsing session. Memory cycles are broken and collected by an automated cycle collector, a new memory allocator reduces fragmentation, hundreds of leaks have been fixed, and caching strategies have been tuned.<\/p>\n<\/blockquote>\n<p>We\u2019re sorry to have to break it to you, but if you thought it was too good to be true you were right. Firefox still uses a lot of memory \u2013 way too much memory for a web browser.<\/p>\n<p><!--more--><\/p>\n<p>We haven\u2019t seen it reach 1GiB+ like we have with previous versions, but it\u2019s quite normal for Firefox 3 to be sucking up ~300MiB of memory right off the bat, with<em>out<\/em> a memory leak (the difference between memory leaks and normal memory <em>ab<\/em>usage is that in a memory leak you\u2019ll see the memory usage keep increasing the longer the browser is open\/in-use).<\/p>\n<p><a href=\"\/blog\/wp-content\/uploads\/firefox.png\"><img class=\"colorbox-585\"  loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" title=\"Firefox Memory Hog\" src=\"\/blog\/wp-content\/uploads\/firefoxmemoryhog.png\" border=\"0\" alt=\"Firefox Memory Hog\" width=\"601\" height=\"503\" \/><\/a><\/p>\n<p><a href=\"http:\/\/neosmart.net\/gallery\/photo\/view\/apps\/Firefox\/Firefox+Hole\/o\/\" rel=\"follow\"><img class=\"colorbox-585\"  decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/4108954098_fdbaea8b4d_o.png\" alt=\"Firefox Wasting 800 MiB of memory\" \/><\/a><\/p>\n<p>This is a screenshot of Firefox\u2019s memory usage after just a half hour or so with only a couple of HTML-only tabs open. This particular screenshot was taken on Linux where Firefox is using the shared GTK libraries \u2013 on our Windows PCs, it\u2019s normal to find Firefox 3 taking up ~350MiB or so on both XP and Vista.<\/p>\n<p>The sad thing is that <em>isn\u2019t<\/em> caused by one of the memory leaks that plagued previous versions of Firefox. It\u2019s Firefox 3 <em>is supposed to<\/em> take up that much memory \u2013 at least, that\u2019s our assumption given how we\u2019ve never seen it take up less.<\/p>\n<p>Firefox 3 has a number of memory-hogging features added to the mix that are probably at least partially responsible for the absolutely gargantuan memory footprint. For example, <a href=\"http:\/\/me.phillipoertel.com\/articles\/2008\/04\/23\/firefox-3-uses-sqlite-to-store-bookmarks\" rel=\"follow\">Firefox now uses an SQL engine<\/a> to keep track of your history and bookmarks, amongst other things. While that particular feature is powered by SQL-lite, which should \u2013 in theory \u2013 not take up too much memory, we\u2019re at a loss to explain what else is wasting memory left, right, and center in the world\u2019s most-popular open source web browser.<\/p>\n<p>Things like full-text on-the-fly searching of the web cache for when you type text in the address bar certainly have an impact as well \u2013 that\u2019s a lot of stuff to keep in memory at one time. But Opera 9.5 does the same with a lot less memory, so obviously Firefox 3 is doing <em>something<\/em> wrong.<\/p>\n<p>It\u2019s a shame that Firefox 3 is on the verge of a release and is so terribly unfit to run on any machine \u2013 Windows, Linux, or OS X \u2013 with less than at least a couple of gigabytes of memory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the biggest \u201cimprovements\u201d that Mozilla claims has made its way into Firefox 3 is improved memory usage, in particular, the vanquishing of memory leaks: Memory usage: Several new technologies work together to reduce the amount of memory used &hellip; <a href=\"https:\/\/neosmart.net\/blog\/firefox-3-is-still-a-memory-hog\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[60,654,77,564,901],"class_list":["post-585","post","type-post","status-publish","format-standard","hentry","category-software","tag-firefox","tag-firefox-3","tag-memory","tag-performance","tag-software"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-9r","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=585"}],"version-history":[{"count":2,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/585\/revisions"}],"predecessor-version":[{"id":2537,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/585\/revisions\/2537"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}