Comment on Finding a VS Code Memory LeakparentComments−diath11moOpenProcess retrieves a handle to an existing process rather than creating a process so it won't be governed by JOB_OBJECT_LIMIT_ACTIVE_PROCESS, the bug here is that it's leaking handles, not processes.−Arnavion11moAh yes, in that case the relevant limit would be one on total handles, which doesn't seem to exist.
Comments
OpenProcess retrieves a handle to an existing process rather than creating a process so it won't be governed by JOB_OBJECT_LIMIT_ACTIVE_PROCESS, the bug here is that it's leaking handles, not processes.
Ah yes, in that case the relevant limit would be one on total handles, which doesn't seem to exist.