firefox not release memory when refresh
Categories
(Core :: JavaScript: GC, defect, P3)
Tracking
()
People
(Reporter: mix5003, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [QA-not-reproducible])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Steps to reproduce:
i used firefox to open facebook.com for a long time.
i found that facebook tab used ram too much. so i refresh that tab and hope that firefox will release memory back.
video: https://youtu.be/sJwc67vNZNQ
i try all button in free memory section in about:memory but nothing works.
only way that i can free that memory is to close facebook tab and click "Minimize memory usage" in about:memory (i am not sure is regular GC can free memory after i close tab or not i will try next time)
Actual results:
when i refresh. firefox not release/clear memory that facebook tab hold.
Expected results:
firefox should release memory when i refresh that tab
Comment 1•4 years ago
|
||
Hey mix5003,
I tried reproducing this issue on the latest versions of Firefox Nightly 94.0a1 (2021-09-06), beta 93.0b1 and release 91.0.2 but I don't reproduce this issue. Does it still occur even if you restart firefox? I do see you have a lot of tabs and if they're streaming for example the memory will only go higher.
Can you test the issue while in Safe Mode? You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .
Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .
If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .
i try in fresh new profile but it still happen.
and i think i found the way to reproduce it.
this video show you how to do it https://youtu.be/GCKIj3N5oeg
this is the step that i do
- login to facebook.com
- open https://www.facebook.com/TukTikKartun (if you goto about:memory and click measure now it used around 100MB)
- scroll down until 1st June or older (actually i just press "page down")
- refresh this tab
- goto about:memory and click GC, CC , Minimize memory usage and then measure it again. you can see that i just refresh but facebook tab still has around 512MB of class(Object)/objects
if you repeat step 3 to 5 again it will use more and more memory
Comment 3•4 years ago
|
||
Changing severity to S3 because mostly the sites tend to keep working.
i think it most likely fixed by Bug1717553
Description
•