KBEC-00248 - Agent Memory configuration

KBEC-00248 - Agent Memory configuration

Summary

This article describes the agent memory settings and way to configure them.

8.5.0 and above:

Installer will notice what type of install is taking place and will set the following settings:

For the standalone agent install the memory values will be:

  • init: 16MB
  • max: 64MB

If any of other components (server, web server, repository) is also installed, then memory values will be:

  • init: 256MB
  • max: 512MB

4.2.1 through 8.5.0:

Default agent memory settings for standalone and heavily used agent are following:

  • init: 16MB
  • max: 64MB

Be advised, that those configuration settings could be insufficient and lead agent to run out of memory, especially for heavily used agents. In that case, manual configuration changes required as described in "Solution" paragraph.

Solution

In order to change memory settings, change the following lines in <commander>/conf/agent/wrapper.conf as per this example (Higher values could be used if necessary):

# Initial Java Heap Size (in mb)
wrapper.java.initmemory=256
# Maximum Java Heap Size (in mb)
wrapper.java.maxmemory=512

Make sure to restart the agent service once you have made the changes to the wrapper.conf file.

Applies to

  • Product versions: Agent v.4.2.1 and up
  • OS vesions: All Supported Windows and Linux Agent Platforms
Have more questions? Submit a request

Comments

Powered by Zendesk