Bloated Memory after upgrading to 14
Firefox 13 is one of the best upgardes ever! I am a tab junky, so I usually have around 1000 tabs opened at a time. It used to take around 1.2GB to load all these tabs preFF13. The new tab-on-demand feature of ff13 is really cool (both beta and final) because It only took 300MB to open all tabs in FF13. It is really really snappy as well!
But when I upgarded to ff14 beta, the memory consumption went back up to 900MB ~ 1GB again! And it crashes alot like pre-13. So I am wondering if anybody changed any part of the tab-on-demand code in 14? Because it is just not the same. I know the tabs appears not to be loaded, but seems like there is more information being loaded, because opening each tab on a new session appears to be slightly slower. And com'on! 300 and 1GB is a big difference!
I know somebody says that it is because 14 is still in beta, but ff13 was way snappier and slimmer while in beta (with the same add-ons). Anyone wishes to help and comment, I'd appreciate if you try it with 1000 tabs first It shows. (and please don't tell me to not use that many tabs ;) ) I hope somebody can help me and compare or check the tab-on-demand code.
Thanks!
All Replies (4)
First of all I would suggest also trying in Firefox 15 and 16 to see if the problem is solved in them,and in Firefox safe mode as the problem may relate to a software extension. In fact probably the majority of problems do relate to other software.
Also note there is a developers tool about:memory (and about:compartments in some versions) that should give an indication of where he memory is being used.
- see Firefox uses too much memory or CPU resources - How to fix which includes additional advice
If the problem still exists in safe mode and other versions of Firefox then I have an idea of somewhere else you could try for advice, but please try another version of firefox and Safe Mode first.
that's so awesome!
This is what I got from about:memory, though it's not making alot of sense
Explicit Allocations 996.97 MB (100.0%) -- explicit ├──421.88 MB (42.32%) -- js │ ├──139.54 MB (14.00%) -- compartment([System Principal], 0x5483000) │ │ ├───87.69 MB (08.80%) -- gc-heap │ │ │ ├──35.50 MB (03.56%) -- shapes │ │ │ │ ├──20.83 MB (02.09%) ── tree │ │ │ │ ├──10.02 MB (01.01%) ── base │ │ │ │ └───4.65 MB (00.47%) ── dict │ │ │ ├──34.55 MB (03.47%) -- objects │ │ │ │ ├──22.94 MB (02.30%) ── function │ │ │ │ └──11.61 MB (01.16%) ── non-function │ │ │ ├──12.99 MB (01.30%) -- arena │ │ │ │ ├──12.49 MB (01.25%) ── unused │ │ │ │ └───0.50 MB (00.05%) ++ (2 tiny) │ │ │ └───4.66 MB (00.47%) ++ (4 tiny) │ │ ├───17.23 MB (01.73%) -- objects │ │ │ ├──16.40 MB (01.64%) ── slots │ │ │ └───0.83 MB (00.08%) ++ (2 tiny) │ │ ├───15.73 MB (01.58%) -- shapes-extra │ │ │ ├──10.50 MB (01.05%) ── compartment-tables │ │ │ └───5.23 MB (00.52%) ++ (3 tiny) │ │ ├───11.01 MB (01.10%) ── string-chars │ │ └────7.88 MB (00.79%) ++ (4 tiny) │ ├───93.14 MB (09.34%) -- compartment(about:blank) │ │ ├──77.14 MB (07.74%) -- gc-heap │ │ │ ├──46.39 MB (04.65%) -- arena │ │ │ │ ├──45.91 MB (04.60%) ── unused [1096] │ │ │ │ └───0.49 MB (00.05%) ++ (2 tiny) │ │ │ ├──19.82 MB (01.99%) -- shapes │ │ │ │ ├──11.37 MB (01.14%) ── dict [1096] │ │ │ │ └───8.45 MB (00.85%) ++ (2 tiny) │ │ │ ├──10.05 MB (01.01%) ++ objects │ │ │ └───0.87 MB (00.09%) ++ (2 tiny) │ │ └──16.00 MB (01.60%) ++ (3 tiny) │ ├───78.53 MB (07.88%) ++ (88 tiny) │ ├───21.51 MB (02.16%) ++ compartment(https://www.google.com.tw/search?q=yoda+hulk&hl=zh-TW&prmd=imvns&tbm=isch&tbo=u&source=univ&sa=X&ei=2ifgT4yvFMXomAWAmqmmDQ&ved=0CFEQsAQ&biw=1388&bih=1011) │ ├───17.81 MB (01.79%) ++ compartment(https://drive.google.com/?tab=mo&authuser=0#folders/0BxIiEq4eSyDqZDlhcTFvUEtPUlE) │ ├───17.25 MB (01.73%) ++ compartment(https://plus.google.com/u/0/_/notifications/frame?sourceid=1&hl=zh-TW&origin=https%3A%2F%2Fwww.google.com.tw&jsh=m%3B%2F_%2Fabc-static%2F_%2Fjs%2Fgapi%2F__features__%2Frt%3Dj%2Fver%3D0hiV8hSovb0.en.%2Fsv%3D1%2Fam%3D!PemfnfjrL2ypWVAhIg%2Fd%3D1#pid=1&id=gbsf&parent=https%3A%2F%2Fwww.google.com.tw&rpctoken=832980145&_methods=onError%2ConInfo%2ChideNotificationWidget%2CpostSharedMessage%2CsetNotificationWidgetHeight%2CswitchTo%2CnavigateTo%2CsetNotificationText%2CsetNotificationAnimation%2ChandlePosted%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart) │ ├───16.42 MB (01.65%) ++ compartment(http://kotaku.com/) │ ├───13.09 MB (01.31%) ++ compartment(http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshibanomaru.blog43.fc2.com%2Fblog-entry-1521.html&layout=button_count&show_faces=false&action=like&colorscheme=light&height=21) │ ├───12.83 MB (01.29%) ── xpconnect │ └───11.78 MB (01.18%) ── gc-heap-decommitted ├──259.91 MB (26.07%) -- window-objects │ ├──247.12 MB (24.79%) ++ (1128 tiny) │ └───12.79 MB (01.28%) -- top(http://shibanomaru.blog43.fc2.com/page-1.html, id=1716) │ └──12.79 MB (01.28%) ++ active ├──214.54 MB (21.52%) ── heap-unclassified ├───71.16 MB (07.14%) -- images │ ├──70.58 MB (07.08%) -- content │ │ ├──70.55 MB (07.08%) -- used │ │ │ ├──50.86 MB (05.10%) ── uncompressed-heap │ │ │ ├──19.69 MB (01.97%) ── raw │ │ │ └───0.00 MB (00.00%) ── uncompressed-nonheap │ │ └───0.03 MB (00.00%) ++ unused │ └───0.59 MB (00.06%) ++ chrome ├───19.88 MB (01.99%) -- storage │ ├──19.07 MB (01.91%) ++ sqlite │ └───0.80 MB (00.08%) ++ prefixset └────9.59 MB (00.96%) ++ (9 tiny)
Other Measurements
33.71 MB ── canvas-2d-pixel-bytes 996.91 MB ── explicit 5.85 MB ── gfx-d2d-surfacecache 110.23 MB ── gfx-d2d-surfacevram 51.83 MB ── gfx-surface-image 0 ── ghost-windows 732.96 MB ── heap-allocated 753.63 MB ── heap-committed 2.74% ── heap-committed-fragmentation 2.53 MB ── heap-dirty 66.04 MB ── heap-unallocated 50.86 MB ── images-content-used-uncompressed 21 ── js-compartments-system 1,195 ── js-compartments-user 254.00 MB ── js-gc-heap 18.61 MB ── js-main-runtime-analysis-temporary 77.00 MB ── js-main-runtime-gc-heap-arena-unused 0.00 MB ── js-main-runtime-gc-heap-chunk-clean-unused 0.00 MB ── js-main-runtime-gc-heap-chunk-dirty-unused 11.78 MB ── js-main-runtime-gc-heap-decommitted 0.12% ── js-main-runtime-gc-heap-unused-fraction 7.55 MB ── js-main-runtime-mjit 100.61 MB ── js-main-runtime-objects 47.56 MB ── js-main-runtime-scripts 102.14 MB ── js-main-runtime-shapes 24.02 MB ── js-main-runtime-strings 8.17 MB ── js-main-runtime-type-inference 0 ── low-commit-space-events 0 ── low-memory-events-physical 0 ── low-memory-events-virtual 1,099.89 MB ── private 1,138.70 MB ── resident 0.23 MB ── shmem-allocated 0.23 MB ── shmem-mapped 19.07 MB ── storage-sqlite 1,684.61 MB ── vsize 17.21 MB ── window-objects-dom 55.57 MB ── window-objects-layout-arenas 162.98 MB ── window-objects-layout-style-sets 0.08 MB ── window-objects-layout-text-runs 24.07 MB ── window-objects-style-sheets
Edeziri
dude, that first part is formatted to jibbrish, sorry about that
I am no expert on memory, but what you may want to do is compare the two different versions of Firefox. And have a look at the about memory results for each. It is also important to try in safe-mode as I mentioned previously.
- Have you tried Firefox's safe mode yet ?
The about memory feature was designed so that it had a plain text output that easily cuts and pastes, unfortunately this forum is not designed to take that! You could take a screenshot and attach that (probably in two halves).
If you would like to compare two or more Firefox versions you could try installing multiple versions, it is even possible to run them simultaneously. I can do that in Windows and Linux but have not used a Mac for many years. Instructions are on the Mozillazine KB see for instance: