How to Increase Agent's Java Heap Size
search cancel

How to Increase Agent's Java Heap Size

book

Article ID: 31315

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Certain actions may result in an "out of memory" on the Release Automation agent once executed.

Example: When executing an action that downloads a large file from a URL, an "out of memory" error will be encountered.

 

Environment

Release: All
Component: Release Automation agent 

Cause

The agent's java heap size is too small. 

 

Resolution

Increase the agent's heap size via the following steps:

  1. Stop the "Nolio Agent" service.
  2. Create a new file named "custom.wrapper.conf" under the "<RA installation>\NolioAgent\conf" directory.
  3. Add the following lines:

    # Initial Java Heap Size (in MB)
    wrapper.java.initmemory=512

    # Maximum Java Heap Size (in MB)
    wrapper.java.maxmemory=1024
  4. Save the file <RA installation>\NolioAgent\conf\custom.wrapper.conf.
  5. Start the "Nolio Agent" service.