Actions
Task #488
closed
Increment the message broker heap space
Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Aug 23, 2015
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
activemq expects 2.3 GB of usable memory but the reserved java heap space is set as the 2G default.
To effectively increment the default heap space, the variable ACTIVEMQ_OPTS_MEMORY must be set inside the /etc/default/activemq file.
Example:
ACTIVEMQ_OPTS_MEMORY=“-Xms2.5G -Xmx2.5G”
A restart of the activemq service is needed.
Updated by Andrea Dell'Amico about 10 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
I added the following line to /etc/default/activemq
:
ACTIVEMQ_OPTS_MEMORY=“-Xms2500m -Xmx2500m”
The service needs a restart to see them.
Updated by Andrea Dell'Amico almost 10 years ago
- Status changed from In Progress to Closed
The new settings are active.
Actions