[pypy-svn] r47119 - pypy/dist/pypy/doc

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Oct 3 19:46:32 CEST 2007

Author: cfbolz
Date: Wed Oct  3 19:46:32 2007
New Revision: 47119

how to limit CPU time and RAM usage

Modified: pypy/dist/pypy/doc/sandbox.txt
--- pypy/dist/pypy/doc/sandbox.txt	(original)
+++ pypy/dist/pypy/doc/sandbox.txt	Wed Oct  3 19:46:32 2007
@@ -73,6 +73,10 @@
 pypy_interact to export this directory (read-only) to the subprocess'
 virtual /tmp directory with the --tmp=DIR option.
+To limit the used heapsize, use the ``--heapsize=N`` option to
+pypy_interact.py. You can also give a limit to the CPU time (real time) by
+using the ``--timeout=N`` option.
 Not all operations are supported; e.g. if you type os.readlink('...'),
 the controller crashes with an exception and the subprocess is killed.
 Other operations make the subprocess die directly with a "Fatal RPython

More information about the Pypy-commit mailing list