> https://rt.perl.org/Ticket/Display.html?id=128227 Another note: I hit ENOMEM when attempting to spawn one small subprocess from a giant Perl process. I had enough RAM for the small subprocess (but not enough for a full fork of the giant Perl process). The kernel could not know the fork() was for an execve() shortly afterwards when preparing for CoW, so it bailed with ENOMEM on fork(). Using posix_spawn (where glibc uses CLONE_VFORK behind-the-scenes) or vfork for spawning subprocesses would've avoided this problem.Thread Next