News for hackers. Stuff that matters.
Re:Lima: Linux-on-Mac by Naac on Friday May 14, 2021 @01:59PM (#27157505)
> MacOS isn't something you should or need to manage swap for

I would 100% agree with you with regards to most macOS users. But as a software dev of course this is something you might have to do every once in a while.

The fact that you can't doesn't seem to align with the fact that macOS is the operating system of choice for software devs.

Re:Lima: Linux-on-Mac by mikestew on Friday May 14, 2021 @02:36PM (#27158045)
But as a software dev of course this is something you might have to do every once in a while.

In about twelve years of a variety of software development on Mac, from embedded to iOS/Mac apps to web, it has never even once occurred to me to do that. Considering that the OS will fill the disk with swap if need be, I'm trying to think of a reason to even want to do this.

Re:Lima: Linux-on-Mac by kergonath on Friday May 14, 2021 @02:34PM (#27158027)
Swap files are created by the OS when the existing ones are full. They are removed by the OS when they are empty. There is no way to set the swap size, because it is dynamic. What is the point of setting the size yourself, besides running artificially out of swap when you need more or taking unnecessary space when you need less?
Re:Lima: Linux-on-Mac by Toutouxc on Friday May 14, 2021 @02:07PM (#27157624)
AFAIK macOS will use the whole drive for swap (or at least an awfully large number of gigabytes, correct me if I'm wrong), why would you want to add more?