hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-13516 Increase PermSize to 128MB
Date Tue, 28 Apr 2015 04:15:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 16443da51 -> cf3e5ebf5


HBASE-13516 Increase PermSize to 128MB


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cf3e5ebf
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cf3e5ebf
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cf3e5ebf

Branch: refs/heads/branch-1
Commit: cf3e5ebf599a2a4c8ce9e18608c3947bbdce6f5f
Parents: 16443da
Author: Enis Soztutar <enis@apache.org>
Authored: Mon Apr 27 21:14:04 2015 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Mon Apr 27 21:15:17 2015 -0700

----------------------------------------------------------------------
 conf/hbase-env.cmd | 4 ++++
 conf/hbase-env.sh  | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cf3e5ebf/conf/hbase-env.cmd
----------------------------------------------------------------------
diff --git a/conf/hbase-env.cmd b/conf/hbase-env.cmd
index 003d1b3..9fb87d7 100644
--- a/conf/hbase-env.cmd
+++ b/conf/hbase-env.cmd
@@ -42,6 +42,10 @@
 @rem @rem See TestIPv6NIOServerSocketChannel.
 set HBASE_OPTS="-XX:+UseConcMarkSweepGC" "-Djava.net.preferIPv4Stack=true"
 
+@rem Configure PermSize. Only needed in JDK7. You can safely remove it for JDK8+
+set HBASE_MASTER_OPTS=%HBASE_MASTER_OPTS% "-XX:PermSize=128m" "-XX:MaxPermSize=128m"
+set HBASE_REGIONSERVER_OPTS=%HBASE_REGIONSERVER_OPTS% "-XX:PermSize=128m" "-XX:MaxPermSize=128m"
+
 @rem Uncomment below to enable java garbage collection logging for the server-side processes
 @rem this enables basic gc logging for the server processes to the .out file
 @rem set SERVER_GC_OPTS="-verbose:gc" "-XX:+PrintGCDetails" "-XX:+PrintGCDateStamps" %HBASE_GC_OPTS%

http://git-wip-us.apache.org/repos/asf/hbase/blob/cf3e5ebf/conf/hbase-env.sh
----------------------------------------------------------------------
diff --git a/conf/hbase-env.sh b/conf/hbase-env.sh
index 2bbde1a..58b2ed4 100644
--- a/conf/hbase-env.sh
+++ b/conf/hbase-env.sh
@@ -44,6 +44,10 @@
 # see http://wiki.apache.org/hadoop/PerformanceTuning
 export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
 
+# Configure PermSize. Only needed in JDK7. You can safely remove it for JDK8+
+export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS -XX:PermSize=128m -XX:MaxPermSize=128m"
+export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -XX:PermSize=128m -XX:MaxPermSize=128m"
+
 # Uncomment one of the below three options to enable java garbage collection logging for
the server-side processes.
 
 # This enables basic gc logging to the .out file.


Mime
View raw message