Earlier quoted context omitted.
I can't speak for the person you're replying too, but I have somewhat similar use cases sometimes, and what you propose isn't really a fix. For instance, when programming, the documentation could be spread out amongst many webpages (like each chapter or each section in a chapter is a separate page). And that might not be the only reference I'm using. And then add in separate pages for examples, too. It's not always p…
If the documentation site is worth its salt it will allow you to download a local html copy or even pdf. I personally haven't seen a documentation site that doesn't let you do this, since its important to store your documentation locally in the event the website goes down (happened to me so its not out of the question).
Tab Unloading in Firefox 93
81–90 of 283 posts
Re: Tab Unloading in Firefox 93
#82Re: Tab Unloading in Firefox 93
#83Earlier quoted context omitted.
My use case may qualify; I have anywhere from 100 to 1,000+ open tabs across three different devices and four browser instances (three Firefoxes, one Chrome) at the peak. But judging from your website it looks like a full browser (presumably built out of Chromium) and not an extension that can be used in any browser, so, ugh.
Fair enough. The browser is built because we think browsers should do a lot more than just tabs and bookmarks, so it wasn't enough to just add an extension (we have many more features that we wanted a well integrated experience around). With that said, there are very few limitations to the browser at this point and it will be eventually open source so feel free to reach out as well!
Re: Tab Unloading in Firefox 93
#84Kudos to the devs who fixed it. In my c++ project I was trying for weeks to figure out how to release back to the OS the memory that my std::vector was occupying, only to find out that there is no straight forward way of achieving so.
Re: Tab Unloading in Firefox 93
#85Earlier quoted context omitted.
Do you have any crash report IDs in your Firefox's about:crashes page? I can check whether a Bugzilla bug report has already been filed for those crashes.
I think that the issue is known, but hard to track. It shows with NVDA and heavy web apps like Twitter and Messenger if they are running for some time. I'm posting here some of the crash ids, but it is likely that they are not representative. When the browser starts to clock up, it locks the screen reader as well and I'm not waiting for the crash, but kill the process with extreme prejudice. I'd be glad to help in an…
Re: Tab Unloading in Firefox 93
#86Something surprising I learned recently is that this is an anti-pattern when building an iOS app. iOS has a memory compressor, so if you try to purge resources in a low-memory situation, it can cause memory use to spike as the things you're trying to free get decompressed. The SDK provides a notification when memory pressure is high, so people try to get aggressive and purge their caches and unused assets when that n…
Re: Tab Unloading in Firefox 93
#87What I want implemented.. Chrome/Firefox whatever... is that instead of unloading and reloading when I go back to the tab I want it to export basically an HTML file and when I click back to that tab, I want it to reload the HTML file instead with some notification/marker that it is a "cached" version. There are times where I'll leave a tab in the background that I don't want refreshed but when it gets unloaded, poof,…
Re: Tab Unloading in Firefox 93
#88Something surprising I learned recently is that this is an anti-pattern when building an iOS app. iOS has a memory compressor, so if you try to purge resources in a low-memory situation, it can cause memory use to spike as the things you're trying to free get decompressed. The SDK provides a notification when memory pressure is high, so people try to get aggressive and purge their caches and unused assets when that n…
Re: Tab Unloading in Firefox 93
#89Something surprising I learned recently is that this is an anti-pattern when building an iOS app. iOS has a memory compressor, so if you try to purge resources in a low-memory situation, it can cause memory use to spike as the things you're trying to free get decompressed. The SDK provides a notification when memory pressure is high, so people try to get aggressive and purge their caches and unused assets when that n…
Linux and Android have that too. Called Zram. When using zstd a compression factor of 3.5 on swap memory is common.
Re: Tab Unloading in Firefox 93
#90> On Windows, Firefox gets a notification from the operating system (setup using CreateMemoryResourceNotification) indicating that the available physical memory is running low. I've longed for such a mechanism in Linux, but I don't think it exists. This should at least be an OS-level signal IMO, though a D-Bus interface could also work. Integrating with one of the recent userspace OOM daemons could be a good idea.
This isn't the same thing as detecting how much memory is available because Linux overcommits by default. PSI will tell you when the kernel is swapping too much (depending on the thresholds you set) and from that you can infer the user is running low on memory.
Android's lowmemkiller had an explicit free memory threshold userspace could set to be notified. Starting with Android 11 however it's now using PSI too IIRC.