Hacker News new | past | comments | ask | show | jobs | submit login

The alternative is called Windows Job Objects, and it allows for limiting CPU and memory usage, among others.

There are numerous libraries and launchers on github; my favorite is [1].

CPU limits are only for Windows 8 or greater though, so for people still on Windows 7 or earlier, then okay, this post is relevant for them.

[1] : https://github.com/lowleveldesign/process-governor




Thanks for this, this seems the proper way to accomplish it




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: