Luatex has the tendency to bring down the entire system when it goes
into some infinite loop.
-contextBuilder = Builder(action='nice texexec --lua $SOURCE%s' % once,
+# Limit to 500MB of virtual memory
+contextBuilder = Builder(action='ulimit -v 512000; nice texexec --lua $SOURCE%s' % once,
suffix='.pdf',
src_suffix='.tex')
env.Append(BUILDERS={'Context': contextBuilder})
suffix='.pdf',
src_suffix='.tex')
env.Append(BUILDERS={'Context': contextBuilder})