sambit1993's blog

By sambit1993, 11 years ago, In English

I am implementing a online judge in python. The judge is to run on a UNIX machine. To enforce memory limits I am using ulimit and to run a program I am using subprocess.Popen() . I want to calculate the exact memory usage. How can I do so?

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it