How to Increase Agent's Java Heap Size

Document ID : KB000031315
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

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.

 

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.