https://github.com/lowleveldesign/process-governor
限制单个进程CPU、内存
确实能限制,不过对于正在运行的进程,限制的值一定要大于当前占用值
代码语言:javascript复制reg add "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /v "ClearPageFileAtShutdown" /d 0 /t REG_DWORD /f
https://github.com/lowleveldesign/process-governor
限制单个进程CPU、内存
确实能限制,不过对于正在运行的进程,限制的值一定要大于当前占用值
代码语言:javascript复制reg add "HKLMSYSTEMCurrentControlSetControlSession ManagerMemory Management" /v "ClearPageFileAtShutdown" /d 0 /t REG_DWORD /f