diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-15 12:07:49 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-15 12:07:49 +0100 |
commit | 64aedb06d2bf72388bc569a54248a35fc87dd0d6 (patch) | |
tree | bf9838d0cdb29e695864d91bdc4f89d52123131b /vespabase | |
parent | e04980d40fcccec110046ea710485fcd59c27b34 (diff) |
Do not allow the default libc allocator under linux to excess in memory footprint with many threads.
Diffstat (limited to 'vespabase')
-rwxr-xr-x | vespabase/src/common-env.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh index 8cd296b61c2..76f5d69b3a4 100755 --- a/vespabase/src/common-env.sh +++ b/vespabase/src/common-env.sh @@ -111,6 +111,7 @@ populate_environment PATH=$VESPA_HOME/bin64:$VESPA_HOME/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/bin:/usr/sbin:/usr/bin export LD_LIBRARY_PATH=$VESPA_HOME/lib64 +export MALLOC_ARENA_MAX=1 # how to find the "java" program? # should be available in $VESPA_HOME/bin or JAVA_HOME |