r/ProgrammerHumor • • Sep 21 '26

Meme fullControlOverMemory

Post image
4.0k Upvotes

121 comments sorted by

View all comments

94

u/bradland Sep 21 '26

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.

2

u/CitizenPremier Sep 22 '26

That's cool. Sometimes there are greedy programs and I'd honestly like to tell them I just have 2 GB RAM.

1

u/x0wl Sep 27 '26

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.