Release Automation KB: How to Increase Agent's Java Heap Size

Document created by JamesPanetti Employee on Aug 21, 2015Last modified by JamesPanetti Employee on Dec 10, 2015
Version 2Show Document
  • View in full screen mode


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.



The agent's java heap size is too small.



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)

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


Note: The default heap size (if not specified in the custom.wrapper.conf file) is 256mb.

1 person found this helpful