<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">As a user with low RAM on my system (4GB) and a slow HDD (slow disk access means slow swap access), I believe Firefox waits way too long to unload its tabs. If only 5% of swap is free, it's too late. First, because the system has already chugged extremely badly from using any swap in the first place. Second, because at 5% swap left, there is no more room left to maneuver, swap is virtually entirely full at that point, and the system will be stuck for entire minutes waiting for it to get unstuck, juggling pages across extremely small amounts of free swap and free RAM. Which it may not successfully free itself from for hours if there is well and truly too much memory attempted to be used.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b>I would love it if Firefox/Chromium unloaded tabs sooner, as that would be a much less drastic intervention than killing programs (or even using any swap in the first place, for HDD users!!).</b> I personally find minimal data loss<b> </b>from unloading tabs. And I am willing to risk that<b> </b>limited/contained amount of data loss, rather than a hard system power-off (or sysrq REISUB) that risks data loss of ALL open work across ALL programs.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">And furthermore: I'd much rather gamble that <b>one tab </b>gets unloaded in a relatively orderly way, and I lose some data, than <b>all of Firefox </b>completely and abruptly quits without a chance to internally save data. Or some arbitrary other program, opaquely and seemingly at random from a user's perspective.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Side note:<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
Julian Andres Klode<span class="gmail_default" style="font-family:arial,helvetica,sans-serif"> on June 10:</span></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">If the user is bothered by memory usage and swapping death, then we<br>
might already be in the point of no return territory and it's too<br>
late to be able to kill stuff.<span class="gmail-im"><br></span></div></blockquote><div><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">This seems true to me. Running low on both available memory *and* running low on swap simultaneously means you are already painted into a corner. It is a dire spot to be in, performance-wise, as it is hard to find a clean way out without the user manually closing a program, and hoping they can do so before they run out of swap and closing programs becomes so slow that they give up in favor of a hard power-cycle (or sysrq REISUB). Firefox waits a really long time, too long IMO, to unload any tabs. It is deferring the problem until it is already out of hand, IMO.<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><b>But </b>regarding <b>HDD vs SSD </b>difference in subjective experience of swap: Swap usage is a terrible experience on a slow HDD. Swap usage might be tolerable (might not even be noticed?) on a fast SSD. I am biased as a slow HDD user. Maybe waiting really long to unload is the better user experience 
on a fast SSD? 

</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Sorry if this is a ramble. Short summary: <b>If browsers would more-aggressively unload tabs, I think it would be the best move forward.</b><br></div></div></div>