From 27a5b1a892118d448bf546b6c7c9654a30a6e83f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 15 Jun 2020 15:40:34 -0700 Subject: 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. --- test_apps | 3 +++ translate_subx | 3 +++ 2 files changed, 6 insertions(+) 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 -- cgit 1.4.1-2-gfad0