about summary refs log tree commit diff stats
path: root/translate_subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-15 15:40:34 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-15 16:16:00 -0700
commit27a5b1a892118d448bf546b6c7c9654a30a6e83f (patch)
tree0735ade80218a5e5cb7ff18f57a7723a311f5f07 /translate_subx
parent36c2d2eadd1eca31d0b2b1634b654c2cf556b965 (diff)
downloadmu-27a5b1a892118d448bf546b6c7c9654a30a6e83f.tar.gz
6527 - increase stack limits
We haven't run into this limit yet, but everytime I see a 'stream overflow'
error I run into it while going over all the knobs in apps/subx-params.subx,
if I increase Input-size (used by survey.subx) too much.
Diffstat (limited to 'translate_subx')
-rwxr-xr-xtranslate_subx3
1 files changed, 3 insertions, 0 deletions
diff --git a/translate_subx b/translate_subx
index ba36986a..4df9a9b5 100755
--- a/translate_subx
+++ b/translate_subx
@@ -19,6 +19,9 @@ set -e
 
 ./build
 
+# increase stack
+ulimit -S -s 131072  # 128MB
+
 cat $*          |apps/braces   > a.braces
 
 cat a.braces    |apps/calls    > a.calls