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