Remix.run Logo
akdev1l 10 hours ago

MacOS handles memory pressure better than Linux imo (at least for interactive use cases)

I have seen MacOS overcommit up to 50% of memory and still have the system be responsive.

Yesterday I filled up my ram accidentally on Fedora and even earlyoom took several minutes to trigger and in the meantime the system was essentially non-responsive

mcswell 10 hours ago | parent | next [-]

The plural of 'anecdote' is not 'data'.

dingaling 7 hours ago | parent [-]

It's exactly what it is

How do you think data is created? It's lots of anecdotes, normalised.

DullJZ 9 hours ago | parent | prev | next [-]

macOS uses solid-state drives to do swap to help increase virtual memory. I can run multiple browsers and IDEs smoothly on my 8GB MacBook.

worthless-trash 10 hours ago | parent | prev [-]

This is with earlyoom/systemd-oomd enabled ?

kergonath 9 hours ago | parent | next [-]

From my experience it does not help much, and I still get occasional freezes when a program misbehaves on Linux. It’s not a huge problem, but it is a problem and it exists; I have been dealing with it for about 15 years with no significant improvement.

worthless-trash 9 hours ago | parent [-]

The earlyoom/oomd changes are quite recent.. I've had a 'better' experience, but I guess it's not really fixed yet.

akdev1l 4 hours ago | parent | prev [-]

Yeah, Fedora ships systemd-oomd

It did eventually work to but it took a while. It also did not killed the culprit runaway processes somehow but it did kill enough stuff for me to regain control of the system.