This might be a Windows issue rather than a Firefox issue. I have a lot of tabs open in Firefox on Linux, for days to weeks on end, with no issues. The only time I restart it is to upgrade to a new version of Firefox or after installing a system update that requires a reboot to fully take effect.
> This might be a Windows issue rather than a Firefox issue
I leave multiple tabs open for weeks+ on Windows (and android), I have never experienced any issue (except when windows decides to update - but firefox always restores itself without issue, or I can press ctrl+shift+t to reopen previous tab/session). There must be something specific to the other commenter's setup, whether it be specific addons or specific pages that are causing the crash.
It could be you are using different apps from them so they never noticed. I've noticed some web "apps" have leaks that over time can bloat out memory usage leading to swap thrashes. gmail.com for example.
It was quite visible in top or about:memory or about:processes
It's not computing or swapping. Plenty of memory and CPU time available. It's just Firefox doing its own disk I/O. I cleared history, and that didn't help.
Ah.. No idea then. Windows debugging not my thing. I do know from a discussion w/ a Windows user that loading the same app (Microsoft Teams) took over a minute to load on his windows machine on an HD (and locked up most of the machine while doing so) - I did exact same comparison on my Linux machine and MS Teams loaded with all caches flushed in < 10 seconds, almost instantly with caching. I've encountered similar with Hedgewars and Minecraft.
So maybe there's a real issue but us linux users simply aren't noticing it..
Another thought. Perhaps it is the sqlite db? Maybe a large one that somehow isn't getting vacuumed on shutdown?