5 ms·
One thing I observe in the latest OS update (Ventura) is that they made HUGE improvements in memory management (MacBook M1, 8 GB). Before, Firefox would bring
by ericol 4y ago
One thing I observe in the latest OS update (Ventura) is that they made HUGE improvements in memory management (MacBook M1, 8 GB).
Before, Firefox would bring the laptop to a crawl with ~200 tabs (Yeah, I know).
Having PHPStorm open at the same time was a sure machine killer.
Just today I found myself casually with close to 350 tabs, while at the same time working in PHPStorm with no issues.
In my experience (My previous box was a Thinkpad T430 with 16 GB of RAM running Debian) linux is far from this good handling memory.
Also, the state management in MacOS is equal to no one.
I have a Lenovo Thinkbook 15 (I7), and having to wait for it to restart when I open the lid is excruciating. I should put a "This is my pos laptop" on it.
- bombcar 4y agoMany things in memory management are stuck in the late 90s, where assumptions are made about disk vs memory vs cache that are no longer true. Memory is still much faster than SSD but it is not as insanely faster as it was compared to spinning rust. And compression is a huge thing now, too.
- Vinnl 4y agoThat might also be related to Firefox improvements: https://hacks.mozilla.org/2022/10/improving-firefox-responsiveness-on-macos/ https://hacks.mozilla.org/2022/10/improving-firefox-responsi...
- ericol 4y agoWas not aware of that, cheers.
- jorvi 4y agoDidn’t Firefox just ship a big RAM improvement update (105)?
- ericol 4y agoI was not aware of that, may be it IS related to that. But then, using a certain set of tools together (Firefox, PHPStorm, DataGrip) that historically have all been memory hungry was not possible before Ventura.
- tomcam 4y agoThis is not criticism, more like wonderment and curiosity. At 200-300 tabs, isn't it just faster to do a web search or organized bookmarks? Or do you just Ctrl-Tab at light speed through them when you need to find something?
- hewlett 4y agoYou can search tabs on firefox if you add % to the address bar
- belfalas 4y agoI am one of the 200 tab people but it's not all in one browser window. I use a Firefox extension called 'Simple Tab Groups' that let me categorize the tabs to get back to them later. I use it as a mini-knowledge base (I'm not that attached to my tabs if I lose them, I use Yojimbo for my real KB). But just to say it: I also freak out when I see someone with so many tabs open that it's like a little Joy Division cover on the top of their browser.
- ethbr0 4y agoBut to parent's question, what does having them open allow you to do? I understand the existential dread of closing a useful-or-interesting-but-unread tab. But isn't this what bookmarks were created to solve?
- charcircuit 4y agoTabs are a better way to do bookmarks than regular bookmarks in most cases.
- still_grokking 4y agoI see no issue with Linux memory management. I'm currently using an older Dell laptop (I guess 2 to 3 years old. Inspiron, or something like that. It's very shitty. Got it for free. Would not buy anything form Dell. The hardware falls apart after so short time! It's a wonder it still works). But: I have currently on this Debian Testing box under KDE Unity, Rider, Sublime Merge (with a few hundred changed files), half a dozen Yakuake tabs, Kate as note pad, and around 30 Firefox windows (with maybe 5 to 6 thousand tabs)¹ open. According to htop it uses only around 15 GB RAM. (Hmm, actually something seems not OK when I look at it as there is still unused RAM, but htop says almost 9 days of uptime? And it still didn't fill all unused RAM with FS cache? Strange. Did something change in Linux 6.0? Maybe something really broke in Linux memory management? But I actually didn't notice anything unusual after the latest Kernel update.) --- ¹ Before someone asks: Yes, thousands of tabs. But don't ask further… Firefox handles this just fine with the help of tree tabs and tab auto discard. Only "booting" Firefox in such a state takes some time (I guess over 1 min.); but when it runs it runs just fine. No issues.
- ericol 4y agoYou truly live on the edge, my friend. As a side note, what I truly like about random comments like this is the app naming. Never ever had heard of Yakuake, but that looks seriously interesting (Tough luck I'm on MacOS now). Fetching Kate as we speak.
- still_grokking 4y ago> You truly live on the edge, my friend. I have an issue sorting tabs. I don't want to throw away research, and than never find some interesting things again. Actually having so much windows is already a good sign as it means I've sorted parts of the mess. But would still need to bookmark (and tag) stuff and this could take some time. So I just "never" close tabs… (I close them after reading, and bookmarking and tagging the more interesting things; but I open new tabs faster than I could sort old ones… That's the problem.) I think I had once even over 10k tabs open. But back than FF was much more unstable and it crashed in the end. > Never ever had heard of Yakuake […] It's one of the oldest KDE apps. I thing I was already there in version KDE 1. It's an drop-down console wrapper around `konsole-part`, the std. console "widget" in KDE. So it can do everything that Konsole (the default terminal in KDE) can do. But the window management is simpler with the drop-down approach. Kate is the "dumb" desktop editor in KDE (besides KWrite, which I think nobody uses). But for a "dumb" editor it's quite powerful by now. And it's fast! I don't do anything funky with it though. You can build half an IDE with it I think. But I never tried to get some LSP servers working with it. It's just my default "dumb" text editor. I didn't know that there's a version for other OSes! Does it really work under macOS (or Windows)? I'm baffled to be honest. Also the webpage looks like Kate has much more features than I've seen. Even I use it for years. Interesting.
- stefandesu 4y agoI would really like to update to Ventura, but I don't want to have to deal with that horrible System Settings application. That's the only reason I'm delaying the update. Although admittedly I don't spend that much time in System Preferences, so maybe it doesn't really matter for me.
- ericol 4y agoYeah, that new System Settings change sucks (Probably due to the fact that I was _just_ accustomed to it) but as you say, you don't spend that mach time in it.
- deleted 4y ago[deleted]