ulimit for Windows. See releases for binaries.
- install the mingw32 compiler (x86_64-w64-mingw32-gcc) and make
make
./wulimit.exe -v 1000
- limits the virtual memory of for each process (and future children) of the session to1GB
./wulimit.exe -v 1000 -V 4000
- limits the virtual memory of for each process (and future children) of the session to1GB
and the total sum of all processes to4GB
./forkbomb.exe
- should not freeze your system when wulimit is used 😉