HADOOP-7154. Should set MALLOC_ARENA_MAX in hadoop-env.sh. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1079605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6d9ded1072
commit
ad459690e0
@ -326,6 +326,8 @@ Release 0.22.0 - Unreleased
|
||||
|
||||
HADOOP-6970. SecurityAuth.audit should be generated under /build. (boryas)
|
||||
|
||||
HADOOP-7154. Should set MALLOC_ARENA_MAX in hadoop-env.sh (todd)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).
|
||||
|
@ -78,6 +78,11 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Newer versions of glibc use an arena memory allocator that causes virtual
|
||||
# memory usage to explode. This interacts badly with the many threads that
|
||||
# we use in Hadoop. Tune the variable down to prevent vmem explosion.
|
||||
export MALLOC_ARENA_MAX=${MALLOC_ARENA_MAX:-4}
|
||||
|
||||
# some Java parameters
|
||||
if [ "$JAVA_HOME" != "" ]; then
|
||||
#echo "run java in $JAVA_HOME"
|
||||
|
Loading…
Reference in New Issue
Block a user