activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschoech...@apache.org
Subject [09/12] activemq git commit: Memory configuration
Date Mon, 29 Jun 2015 21:26:26 GMT
Memory configuration

Reduce the default memory minimal overhead of activemq from 1G to 64M to
ensure that activemq does not revoke to work in small environments.
If a larger process heap than 64M is needed the jvm grows up to 1GB.

Conflicts:
	assembly/src/release/bin/env


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

Branch: refs/heads/master
Commit: a767bda603119387af8e8ce06af268470fe33c3a
Parents: 07920b2
Author: Marc Schoechlin <marc.schoechlin@breuninger.de>
Authored: Sun Jan 4 12:16:25 2015 +0100
Committer: Marc Schoechlin <marc.schoechlin@breuninger.de>
Committed: Sat Jun 6 15:24:37 2015 +0200

----------------------------------------------------------------------
 assembly/src/release/bin/env | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/a767bda6/assembly/src/release/bin/env
----------------------------------------------------------------------
diff --git a/assembly/src/release/bin/env b/assembly/src/release/bin/env
index 3673fd4..5825080 100644
--- a/assembly/src/release/bin/env
+++ b/assembly/src/release/bin/env
@@ -23,10 +23,8 @@
 # invoke the init-script without a argument an review help section "Configuration of this
script"
 # /etc/default/activemq <activemq user home>/.activemqrc <activemq installation
dir>/bin/env
 
-# Set jvm memory configuration
-if [ -z "$ACTIVEMQ_OPTS_MEMORY" ] ; then
-    ACTIVEMQ_OPTS_MEMORY="-Xms1G -Xmx1G"
-fi
+# Set jvm memory configuration (minimal/maximum amount of memory)
+ACTIVEMQ_OPTS_MEMORY="-Xms64M -Xmx1G"
 
 if [ -z "$ACTIVEMQ_OPTS" ] ; then
     ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties
-Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config"


Mime
View raw message