News for hackers. Stuff that matters.
Re:Improving Firefox stability with this one weird trick by pas on Tuesday November 22, 2022 @02:52PM (#33710470)
I disabled the swap in Windows, because I have 32G RAM (and why put unnecessary wear on the SSD). And now it runs out of memory while half the RAM is empty.

A marvelous operating system.

But yeah, at least I saw the warning fast, with the swap file it first came to a sudden halt, and after a lot of time it might have shown the alert.

Re:Improving Firefox stability with this one weird trick by astrange on Wednesday November 23, 2022 @12:47AM (#33715688)
Turning off swap will lead to running out of memory earlier than you’d think because different tasks can allocate a lot instantaneously - you just need a few of them to line up and try allocating a lot at once.

I don’t see how you can realistically operate a computer this way unless you control all the software on it, or you enjoy buying way more RAM than you need.

(Also swap isn’t the only alternative to allocating memory - there’s also purgeable allocations and memory compression.)