As of bug 803575, Fennec will unload background tabs in low-mem situations to free up some memory. Switching back to an unloaded tab will re-load it. On the blog post describing this feature , somebody suggested doing this for desktop FF as well . Sounds like a reasonable idea to me, although obviously the heuristics driving it should be different. Maybe let this idea simmer for a while until we see how the Fennec implementation does?  https://staktrace.com/spout/entry.php?id=782  https://staktrace.com/spout/entry.php?id=782#c1246
Bugzilla's search sucks, bug Google finds the dupe easily. https://www.google.com/search?q=site%3Abugzilla.mozilla.org+unload+tabs (Note that this is a minefield. I'm surprised you guys were able to do it on Fennec without opposition!)
> (Note that this is a minefield. I'm surprised you guys were able to do it > on Fennec without opposition!) Yeah, I'm also surprised by this. Maybe there's less of an expectation on mobile that data will never be lost, because mobile browsing is somehow seen as more transient?
Yeah, but I recall getting very strong pushback from mobile folks against the idea that Fennec should ever unload a tab (even a background tab) when going into the background. See e.g. bug 757918. Anyway, hats off to you for getting this in.
> Anyway, hats off to you for getting this in. Maybe people just didn't notice... we'll see if there are complaints during Aurora/Beta.
(In reply to Nicholas Nethercote [:njn] from comment #2) > Maybe there's less of an expectation on > mobile that data will never be lost, because mobile browsing is somehow seen > as more transient? I think this is true. In particular, Android will not hesitate to kill Fennec when Fennec is in the background and it needs more memory. So even if we don't do this, the "user contract" (stealing jlebar's term from ) has already been broken. Therefore breaking it a little bit more isn't as much of big deal. (In reply to Justin Lebar [:jlebar] from comment #3) > Yeah, but I recall getting very strong pushback from mobile folks against > the idea that Fennec should ever unload a tab (even a background tab) when > going into the background. Note that even with the new changes, we don't unload tabs when Fennec is put into the background. We will unload tabs if we get a memory pressure event, regardless of whether Fennec is in the foreground or background. I agree with :mfinkle in that we shouldn't just unload tabs when we go into the background, because there are valid use cases (e.g. the user is multitasking and switching rapidly between apps) where unloading tabs will be very visible and very bad UX. Slightly off topic - I'm not sure if you watched the pancake post-mortem presentation last week, but it was interesting to note that one of the main reasons people leave so many tabs open is because there's no other way to deal with them that lines up with the mental model they have (they generally want to throw it into a temporary reading list or save it for later in some way). Solving that problem better might reduce the number of tabs people keep lying around, and make bug 675539 a moot point.  https://bugzilla.mozilla.org/show_bug.cgi?id=757918#c5