hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1365582 - /hbase/branches/0.92/bin/hbase-config.sh
Date Wed, 25 Jul 2012 13:45:17 GMT
Author: stack
Date: Wed Jul 25 13:45:17 2012
New Revision: 1365582

URL: http://svn.apache.org/viewvc?rev=1365582&view=rev
Log:
HBASE-6450 HBase startup should be with MALLOC_MAX_ARENA set

Modified:
    hbase/branches/0.92/bin/hbase-config.sh

Modified: hbase/branches/0.92/bin/hbase-config.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/bin/hbase-config.sh?rev=1365582&r1=1365581&r2=1365582&view=diff
==============================================================================
--- hbase/branches/0.92/bin/hbase-config.sh (original)
+++ hbase/branches/0.92/bin/hbase-config.sh Wed Jul 25 13:45:17 2012
@@ -81,6 +81,10 @@ if [ -f "${HBASE_CONF_DIR}/hbase-env.sh"
   . "${HBASE_CONF_DIR}/hbase-env.sh"
 fi
 
+# Newer versions of glibc use an arena memory allocator that causes virtual
+# memory usage to explode. Tune the variable down to prevent vmem explosion.
+export MALLOC_ARENA_MAX=${MALLOC_ARENA_MAX:-4}
+
 if [ -z "$JAVA_HOME" ]; then
   for candidate in \
     /usr/lib/jvm/java-6-sun \



Mime
View raw message