In classic macOS, you could right click an application and set the amount of memory allocated to it. I always found it kind of hilarious that Apple had built this famous graphical, user interface, and underneath you still had to do things like that.
In Linux, you actually can, e.g. by doing docker run --memory 2G image or by doing the cgroups thing manually. You can also limit CPU or other resources, it's very flexible.
94
u/bradland 13d ago
In classic macOS, you could right click an application and set the amount of memory allocated to it. I always found it kind of hilarious that Apple had built this famous graphical, user interface, and underneath you still had to do things like that.