Run texexec under nice.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 23 Sep 2009 13:21:34 +0000 (15:21 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 23 Sep 2009 13:21:34 +0000 (15:21 +0200)
Previously, luatex had the habit of choking up all memory and making the
system (temporarily) non-responsive. Perhaps this helps.

SConstruct

index 3edfb1d1629e7182ef8772da5a535ed58e837235..fccd78ace7fbb18d69d4691f7a69148b41c24967 100644 (file)
@@ -13,7 +13,7 @@ DEFAULT_TARGET = 'Report.pdf'
 env = Environment()
 
 ## Context MkIV Builder:
-contextBuilder = Builder(action='texexec --lua $SOURCE',
+contextBuilder = Builder(action='nice texexec --lua $SOURCE',
                          suffix='.pdf',
                          src_suffix='.tex')
 env.Append(BUILDERS={'Context': contextBuilder})