Project

General

Profile

Actions

Task #488

closed

Increment the message broker heap space

Added by Andrea Dell'Amico about 10 years ago. Updated almost 10 years ago.

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.

Actions #1

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.

Actions #2

Updated by Andrea Dell'Amico almost 10 years ago

  • Status changed from In Progress to Closed

The new settings are active.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)