X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=SConstruct;h=05bd779b8305fdcc75f5603fbad8d05b145f836a;hp=a05a298afd1c3997c7f07767511e1055c8db9fc8;hb=a3230eaf8e01ef71d3d53673f215e5b27ba9255f;hpb=1efa14d0ca47ab1aa41694ff438b67791ca9428c diff --git a/SConstruct b/SConstruct index a05a298..05bd779 100644 --- a/SConstruct +++ b/SConstruct @@ -19,7 +19,8 @@ if ARGUMENTS.get('once'): else: once = '' -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})