lowleveldesign / process-governor

This application allows you to put various limits on Windows processes.
MIT License
627 stars 62 forks source link

Add support for MinimumWorkingSetSize #17

Closed rowandh closed 4 years ago

rowandh commented 4 years ago

Adds support for MinimumWorkingSetSize. As described in the docs when MaximumWorkingSetSize is > 0, MinimumWorkingSetSize must also be > 0 and vice-versa. This should fix #16.

lowleveldesign commented 4 years ago

Big thanks for the PR. It all looks good, and I will later merge it. One question, though: have you tried it, maybe? I remember reading the docs you mentioned in regards to #16, and setting the min ws size did not work at that time.

rowandh commented 4 years ago

I tested it running VS Code using -r. It does resolve the parameter is incorrect error when setting the max ws and according to task manager the ws is limited correctly.

lowleveldesign commented 4 years ago

Awesome, thanks!