I created a server program I want to run in the background, but I found Windows can run only about 256 background processes at the same time by bat file. I can't run new background processes and I start my server program by bat file. The system tells me something is wrong, like this:
Faulting application name: cmd.exe, version: 1.0.0.0, time stamp: 0x545042b1
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18438, time stamp: 0x57ae642e
Exception code: 0xc0000142
Fault offset: 0x00000000000ecdd0
Faulting process id: 0x2d08
Faulting application start time: 0x01d4982a2b4df4a1
Faulting application path: C:\Windows\system32\cmd.exe
Faulting module path: KERNELBASE.dll
Report Id: 6931568f-041d-11e9-80fa-988f90cb5a9d
It's no problem that if I directly run about 300 server processes.
I don't know that Windows have some limit about it?
I want to run about 300 background processes at the same time.
User contributions licensed under CC BY-SA 3.0