-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: leaving tab open to main feed in Firefox can cause high RAM/CPU usage #1385
Comments
Confirmed however only took 3 minutes for the tab to crash: Ubuntu 23.04 Watched about:processes and observed 100% CPU entire duration and steady climb of RAM usage up until tab crashed. At that time RAM usage for the tab was at 16gb. Specifically tested on beehaw.org. |
Can confirm. Will slowly chew up RAM, notice it as I use Lemmy, especially forwarding/back on page, or changing my viewing from the defaults (subscribed-Hot) to something like Local - New. If I close the Lemmy tab it goes away. |
Also seeing this with Firefox 114.0.1 on Fedora 38. I downgraded to 111.0.1-1.fc38 and it seemed like it was stopped, but it did slowly grow. With 114.0.1 it definitely happens in minutes and halts my system due to swapping so much. It's with the Isolated Web Container process of Firefox. This does not happen with Chromium. So I'm wondering if this is a bug in Firefox that is just exacerbated by Lemmy. |
This may be fixed in the Firefox code already. I've been running a lemmy tab in Firefox Nightly (116.0a1) for a few hours now, and both the total memory & the Isolated Web Container memory seem to be stable. |
I installed the beta version, 115.0b8, and it's fine and doesn't experience this issue. I think this is a memory leak issue with the Isolated Web Container code in Firefox. |
Firefox version 114.0.2 is available now and after updating the issue is gone. |
The instance I'm on upgraded the UI to 0.18.0-rc.4, and I haven't seen the issue since. This morning I noticed Firefox was now 114.0.2 as well. |
Just upgraded to 114.0.2 and issue is resolved here as well. Seems like a memleak in Firefox that's been resolved quickly. |
Thanks for monitoring this one, everyone. Looks like we can close this out. |
Requirements
Summary
Sometimes, when leaving a tab open in Firefox with a Lemmy instance loaded at the main feed (equivalent to r/all), after several hours, very high RAM and CPU usage can result.
Steps to Reproduce
Technical Details
Behavior seen on Firefox 102.11 ESR and 114 on Debian and Mint flavors of Linux, respectively.
I will look at the console next time it happens.
Version
0.17.4
Lemmy Instance URL
No response
The text was updated successfully, but these errors were encountered: