Release Automation

 View Only

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

Aug 21, 2015 03:58 PM

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.

 

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

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Dec 10, 2015 02:10 PM

Hi Michael,

 

I greatly apologize for the delay in response -- It took a while to pin this down since, but after bugging a lot of folks internally, I was able to verify the default size is 256mb.  I'll update the KB with this information.

Sep 30, 2015 02:48 PM

James,

 

do you have an update on this? what is the default Java Heap Size of an agent?

 

Thanks,
Michael

Sep 18, 2015 05:12 AM

Hi,

 

I found these entries in the wrapper.conf:

# Initial Java Heap Size (in MB)

#wrapper.java.initmemory=3

 

 

# Maximum Java Heap Size (in MB)

#wrapper.java.maxmemory=64

 

Thanks,

Michael

Sep 16, 2015 05:09 PM

I don't recall offhand, will have to look into that. Where did you see the comment?

Sep 15, 2015 08:19 AM

Does anyone know the default max heap size of the agent? I saw in the comment a value of 64MB. Is this true?

Thanks!

Michael

Related Entries and Links

No Related Resource entered.