diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-15 15:40:34 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-15 16:16:00 -0700 |
commit | 27a5b1a892118d448bf546b6c7c9654a30a6e83f (patch) | |
tree | 0735ade80218a5e5cb7ff18f57a7723a311f5f07 | |
parent | 36c2d2eadd1eca31d0b2b1634b654c2cf556b965 (diff) | |
download | mu-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.
-rwxr-xr-x | test_apps | 3 | ||||
-rwxr-xr-x | translate_subx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test_apps b/test_apps index a2c92d5c..3552971b 100755 --- a/test_apps +++ b/test_apps @@ -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 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 |