I\'m trying to find a way to limit the memory available for the Python VM, as the option \"-Xmx\" in the Java VM does. (The idea is to be able to play with the MemoryError e
On *nix you can play around with the ulimit command, specifically the -m (max memory size) and -v (virtual memory).
ulimit