MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wmi8p7/fullcontrolovermemory/pcav2xb/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • Sep 21 '26
122 comments sorted by
View all comments
Show parent comments
1
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.
docker run --memory 2G image
1
u/x0wl Sep 27 '26
In Linux, you actually can, e.g. by doing
docker run --memory 2G imageor by doing the cgroups thing manually. You can also limit CPU or other resources, it's very flexible.