News for hackers. Stuff that matters.
Re:Memory leaks are crippling my M1 MacBook Pro by jokethrowaway on Monday November 08, 2021 @01:04PM (#29152176)
Of course it will run out of memory if it's taking more than 16GB of ram.

Most Linux distro suggest you to setup swap so instead of crashing it could use the swap. I personally don't use swap, because if something is consuming too much ram I most likely want it dead.

I don't know what are you compiling, but requiring more than 16GB of ram for compiling something sounds lazy and unneeded. Likewise you can use a browser extension which reclaims ram from unused tabs.

I can understand the need to have 64gb to do video editing or rendering, but most of the times we need that much ram is because our software is badly written and we don't want to face the problem, not because of the complexity of what we're doing.

Re:Memory leaks are crippling my M1 MacBook Pro by eru on Wednesday November 10, 2021 @08:37AM (#29174457)
> I personally don't use swap, because if something is consuming too much ram I most likely want it dead.

Swap is still useful to move stuff out to disk that _never_ gets accessed again.