mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3338 - increase default max memory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c4fe3ec9c
commit
6b12a404d5
|
@ -118,7 +118,7 @@ ACTIVEMQ_USER=""
|
|||
|
||||
# Set jvm memory configuration
|
||||
if [ -z "$ACTIVEMQ_OPTS_MEMORY" ] ; then
|
||||
ACTIVEMQ_OPTS_MEMORY="-Xms256M -Xmx256M"
|
||||
ACTIVEMQ_OPTS_MEMORY="-Xms256M -Xmx1G"
|
||||
fi
|
||||
|
||||
# Uncomment to enable audit logging
|
||||
|
|
|
@ -71,7 +71,7 @@ echo.
|
|||
|
||||
if "%ACTIVEMQ_BASE%" == "" set ACTIVEMQ_BASE=%ACTIVEMQ_HOME%
|
||||
|
||||
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties
|
||||
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms256M -Xmx1G -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties
|
||||
|
||||
if "%SUNJMX%" == "" set SUNJMX=-Dcom.sun.management.jmxremote
|
||||
REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
|
||||
|
|
|
@ -69,7 +69,7 @@ wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties
|
|||
#wrapper.java.initmemory=3
|
||||
|
||||
# Maximum Java Heap Size (in MB)
|
||||
wrapper.java.maxmemory=512
|
||||
wrapper.java.maxmemory=1024
|
||||
|
||||
# Application parameters. Add parameters as needed starting from 1
|
||||
wrapper.app.parameter.1=org.apache.activemq.console.Main
|
||||
|
|
|
@ -69,7 +69,7 @@ wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties
|
|||
#wrapper.java.initmemory=3
|
||||
|
||||
# Maximum Java Heap Size (in MB)
|
||||
wrapper.java.maxmemory=512
|
||||
wrapper.java.maxmemory=1024
|
||||
|
||||
# Application parameters. Add parameters as needed starting from 1
|
||||
wrapper.app.parameter.1=org.apache.activemq.console.Main
|
||||
|
|
|
@ -69,7 +69,7 @@ wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties
|
|||
#wrapper.java.initmemory=3
|
||||
|
||||
# Maximum Java Heap Size (in MB)
|
||||
wrapper.java.maxmemory=512
|
||||
wrapper.java.maxmemory=1024
|
||||
|
||||
# Application parameters. Add parameters as needed starting from 1
|
||||
wrapper.app.parameter.1=org.apache.activemq.console.Main
|
||||
|
|
|
@ -69,7 +69,7 @@ wrapper.java.additional.9=-Djava.util.logging.config.file=logging.properties
|
|||
#wrapper.java.initmemory=3
|
||||
|
||||
# Maximum Java Heap Size (in MB)
|
||||
wrapper.java.maxmemory=512
|
||||
wrapper.java.maxmemory=1024
|
||||
|
||||
# Application parameters. Add parameters as needed starting from 1
|
||||
wrapper.app.parameter.1=org.apache.activemq.console.Main
|
||||
|
|
Loading…
Reference in New Issue