SSD space is dirt cheap (unless you get it from Apple), I'm not losing any sleep over losing a few gigs to a swap file to keep that from ever happening.
SSD space is dirt cheap (unless you get it from Apple), I'm not losing any sleep over losing a few gigs to a swap file to keep that from ever happening.
The reason this worked is that Android starts killing processes only after you pretty much run out of ram. So if you have a task that needs a lot of RAM even though the phone has it if it just closed a few apps you can't use that ram until after you've hit the allocation fault and let a bunch of apps die.
If applications made more efficient use of memory, the OS wouldn't need to terminate processes.
But then, apps in that environment were made for no swap. If you take away swap on a desktop system it could be another story.
I don't lose sleep over space on my SSD either, but I don't want thrashing either. As a user I get no real feedback on the memory usage of my applications until everything gets slow. Fortunately it's easy to configure Firefox to unload idle tabs, but it might be better if -at least for GUI apps- I could confidently configure no swap.
Also, it's not just about space. SSDs have a very limited number of write cycles before they fail.