python_memory_limitCode for setting memory limit for python processes and their subprocesses, under Windows or Linux.