drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [6/7] drill git commit: DRILL-2944: Update drill-env to set fixed heap and use G1 garbage collection to reduce GC overhead.
Date Thu, 07 May 2015 08:56:42 GMT
DRILL-2944: Update drill-env to set fixed heap and use G1 garbage collection to reduce GC overhead.


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

Branch: refs/heads/master
Commit: e14d9896ebb1d3e6e35b4490cfa0d45b10f81164
Parents: b24b23e
Author: Jacques Nadeau <jacques@apache.org>
Authored: Sun May 3 10:27:57 2015 -0700
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Thu May 7 00:12:26 2015 -0700

----------------------------------------------------------------------
 distribution/src/resources/drill-env.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/e14d9896/distribution/src/resources/drill-env.sh
----------------------------------------------------------------------
diff --git a/distribution/src/resources/drill-env.sh b/distribution/src/resources/drill-env.sh
index 1783d6d..2aede3f 100644
--- a/distribution/src/resources/drill-env.sh
+++ b/distribution/src/resources/drill-env.sh
@@ -14,10 +14,10 @@
 # limitations under the License.
 
 DRILL_MAX_DIRECT_MEMORY="8G"
-DRILL_MAX_HEAP="4G"
+DRILL_HEAP="4G"
 
-export DRILL_JAVA_OPTS="-Xms1G -Xmx$DRILL_MAX_HEAP -XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY
-XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=1G -ea"
+export DRILL_JAVA_OPTS="-Xms$DRILL_HEAP -Xmx$DRILL_HEAP -XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY
-XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=1G -ea"
 
 # Class unloading is disabled by default in Java 7
 # http://hg.openjdk.java.net/jdk7u/jdk7u60/hotspot/file/tip/src/share/vm/runtime/globals.hpp#l1622
-export SERVER_GC_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"
+export SERVER_GC_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+UseG1GC "


Mime
View raw message