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.
This commit is contained in:
Kartik Agaram 2020-06-15 15:40:34 -07:00
parent 36c2d2eadd
commit 27a5b1a892
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,9 @@ export OS=${OS:-linux}
echo "== translating and running using C++"
# increase stack
ulimit -S -s 131072 # 128MB
# example programs
echo ex1

View File

@ -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