Tags

, , ,

Python allows customization to resource allocation for a Python VM instance.

http://docs.python.org/2/library/resource.html

import resource
resource.setrlimit(resource.RLIMIT_AS, (megs * 1048576L, -1L))
Advertisements