Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి

How to get Firefox to release memory - is it an issue

  • 12 ప్రత్యుత్తరాలు
  • 0 ఈ సమస్యలు కలిగి ఉన్నాయి
  • 13 వీక్షణలు
  • చివరి సమాధానమిచ్చినది cor-el

more options

Hi,

Love Firefox but it looks like I'm getting real issues with it not releasing memory from closed tabs. I load 12 tabs and the memory is around 750mb, if I then close all but 2 tabs it only releases around 50mb of the extra memory.

1) Can I recover that memory some how 2) is this an issue or is it released later

Firefox 44 El Capitan latest

Hi, Love Firefox but it looks like I'm getting real issues with it not releasing memory from closed tabs. I load 12 tabs and the memory is around 750mb, if I then close all but 2 tabs it only releases around 50mb of the extra memory. 1) Can I recover that memory some how 2) is this an issue or is it released later Firefox 44 El Capitan latest

ప్రత్యుత్తరాలన్నీ (12)

more options

You can try to use the "Free Memory" feature on the about:memory page to see if that works.

more options

I tried that but it didnt work. If I restart Firefox then it obviously works, but I was hoping that there was a coding type fix?

more options

Does it help if you disable Firebug?

Start Firefox in Safe Mode to check if one of the extensions (3-bar Menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: 3-bar Menu button/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

disabling all the add-on's reduces the total memory used, but still doesn't release the memory when the tabs are closed

more options

What is taking up that memory if you check that in about:memory?

more options

cor-el said

What is taking up that memory if you check that in about:memory?

I took two measurements both when the tabs were open then closed, can I attach them with the Add images button

more options

I thought I would post some Background Info on about:memory for you to look at whilst waiting for cor-el to get back to you.

You may add them or parts of them using add images if you take a screeenshot. It is also possible to select parts and paste them into the forum as the display is text, but that may distort the formatting, and so linking to a copy of the text file may be a better option.

Take CARE: you may wish to review for any sensitive or confidential info before posting anything from about:memory

Also note about memory has a diff function. You may be able to use that to isolate the memory increase by doing a diff before and after opening the troublesome tabs. See Also

Note also that the files will save as gzip format that may be convenient for transferring the full info but this forum is unable to handle the files. You could consider placing the files on https://pastebin.mozilla.org/

more options

John99 said

I thought I would post some Background Info on about:memory for you to look at whilst waiting for cor-el to get back to you. You may add them or parts of them using add images if you take a screeenshot. It is also possible to select parts and paste them into the forum as the display is text, but that may distort the formatting, and so linking to a copy of the text file may be a better option. Take CARE: you may wish to review for any sensitive or confidential info before posting anything from about:memory Also note about memory has a diff function. You may be able to use that to isolate the memory increase by doing a diff before and after opening the troublesome tabs. See Also Note also that the files will save as gzip format that may be convenient for transferring the full info but this forum is unable to handle the files. You could consider placing the files on https://pastebin.mozilla.org/

thanks for this, I've saved two memory files so I'll do a diff between them to see if I can see anything interesting,

more options

Does about:memory use JS to run? If I run 4-5 about-memory in a row the memory increases between 50-100mb each time and then stays at that level until I quit Firefox. How do I disable JS in firefox, then I can try and run multiple tabs and see if the issue is as pronounced?

more options

Final question for now. What's the correlation between About:Memory Explicit Memory and the Memory recorded in Mac's Activity Monitor? When I had very few tabs open the difference between the two was about 30mb, when I opened lots of tabs this gap widened. Even when I then closed the excess tabs, the difference between these two numbers was >100mb? Is it possible that the Mac Activity Monitor doesn't record this number accurately for firefox, or at the least different than the way firefox handles it?

thanks

more options

It is probably best to wait for cor-el to get back.

My thoughts are that it may be better to ask yourself: Are you getting problems that are thought to be caused due to lack of memory ? and resultant paging ? Rather than place too much emphasis on what the actual figures are. Unless you find say one specific site or one particular addon causes Firefox memory to keep on going up untill Firefox hangs or crashes.

The about:memory live display has tooltips that show up on mouseover. It explains some of the categories. Yes I believe Macs may show different results to Firefox's about memory.

more options

I'm not on a Mac, so I don't know how all those tools work. Interpreting the data that shows on about:memory is not easy and I'm not familiar with the details as well.

I came across a link to an article about the activity monitor that might provide some information. Use Activity Monitor on your Mac - Apple Support: https://support.apple.com/en-us/HT201464