I'm using a Python library (SimpleParse) that I seem to be causing some runaway recursion with it. It's already crashed my computer once when I was just trying to debug it.
What would be the best way for me to set some limits on how much memory it's using?
I was thinking I would write up a quick C program with setrlimit to call Python, and test it from there.