OSError Errno 12, Cannot allocate memory
From Helpful
| This article/section is a stub — probably a pile of half-sorted notes and assertions some of which may well be wrong, and not verified as a whole. Feel free to add or refine. |
OSError: [Errno 12] Cannot allocate memory
on os.fork(), e.g. in subprocess.py, popen2.py,
Usually when there is enough memory -- but possibly not enough virtual memory.
It seems this is not the only reason. I do not yet know what the other reasons can be.

