ARTEMIS-1047 Improving GC Settings

Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/64523cd7
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/64523cd7
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/64523cd7

Branch: refs/heads/master
Commit: 64523cd7ea4d009b7cacb21d87140fad895d051b
Parents: 64b4553
Author: Clebert Suconic <[email protected]>
Authored: Fri Mar 17 17:01:20 2017 -0400
Committer: Andy Taylor <[email protected]>
Committed: Tue Mar 21 08:50:54 2017 +0000

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/cli/commands/etc/artemis.profile   | 2 +-
 .../apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/64523cd7/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
----------------------------------------------------------------------
diff --git 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
index 8dab799..ec26128 100644
--- 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
+++ 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
@@ -23,7 +23,7 @@ ARTEMIS_INSTANCE='${artemis.instance}'
 
 
 # Java Opts
-JAVA_ARGS="-XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods 
-Xms512M -Xmx1024M"
+JAVA_ARGS="-XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts 
-XX:+UseFastAccessorMethods -Xms512M -Xmx2G"
 
 #
 # There might be options that you only want to enable on specifc commands, 
like setting a JMX port

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/64523cd7/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
----------------------------------------------------------------------
diff --git 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
index 47e288c..8657584 100644
--- 
a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
+++ 
b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
@@ -23,7 +23,7 @@ rem Cluster Properties: Used to pass arguments to ActiveMQ 
Artemis which can be
 rem set ARTEMIS_CLUSTER_PROPS=-Dactivemq.remoting.default.port=61617 
-Dactivemq.remoting.amqp.port=5673 -Dactivemq.remoting.stomp.port=61614 
-Dactivemq.remoting.hornetq.port=5446
 
 rem Java Opts
-set JAVA_ARGS=-XX:+UseParallelGC -XX:+AggressiveOpts 
-XX:+UseFastAccessorMethods -Xms512M -Xmx1024M 
-Xbootclasspath/a:%ARTEMIS_HOME%\lib\${logmanager} 
-Djava.security.auth.login.config=%ARTEMIS_INSTANCE%\etc\login.config 
${java-opts} -Dartemis.instance=%ARTEMIS_INSTANCE%
+set JAVA_ARGS=-XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts 
-XX:+UseFastAccessorMethods -Xms512M -Xmx1024M 
-Xbootclasspath/a:%ARTEMIS_HOME%\lib\${logmanager} 
-Djava.security.auth.login.config=%ARTEMIS_INSTANCE%\etc\login.config 
${java-opts} -Dartemis.instance=%ARTEMIS_INSTANCE%
 
 rem There might be options that you only want to enable on specifc commands, 
like setting a JMX port
 rem See https://issues.apache.org/jira/browse/ARTEMIS-318

Reply via email to