Release Automation

Expand all | Collapse all

Agents maximum memory usage

Jump to Best Answer
  • 1.  Agents maximum memory usage

    Posted 12-19-2016 08:52 AM



    It seems like Release Automation agents does not have a maximum memory usage set by default.

    As a matter of fact they able to consume up to one quarter of the available RAM.


    What would be the best way of limiting this memory usage ?

    Adding an Xmx option in the conf/wrapper.conf file ?



  • 2.  Re: Agents maximum memory usage
    Best Answer

    Posted 12-22-2016 02:18 AM

    You should check the following values in wrapper.conf (Make sure to do proper testing in case you do any configuration changes)  is configuration parameter  that controlling the initial amount of memory (in megabytes) that the JVM should allocate at startup (By default its comment out)  is configuration parameter  that controlling the max heap size (in megabytes)



  • 3.  Re: Agents maximum memory usage

    Posted 12-22-2016 02:51 AM

    Hi Jacky,


    OK, I commented out the key in wrapper.conf file and valued it to 512.

    Now in the Agent process I can see "-Xmx512m".


    Is there a preconised value for this ?


    Thank you for your help.



  • 4.  Re: Agents maximum memory usage

    Posted 12-22-2016 03:25 AM

    I think its depend on the OS and tasks you  will execute by the agent

  • 5.  Re: Agents maximum memory usage

    Broadcom Employee
    Posted 12-28-2016 05:02 PM

    Hi All,


    Based on the conversation I'll mark Jacky's response as correct. Just as an FYI... you might want to use the conf/custom.wrapper.conf file to make these changes (mentioned here: Nolio Official KB: How do I customize the agents Java settings?). I think the benefit of using this file is that it will not be overwritten during upgrades/updates.



  • 6.  Re: Agents maximum memory usage

    Posted 01-02-2017 04:10 AM

    Hi Gregg,


    Thank you for your answer. You are right, we should definitely use the custom.wrapper.conf file.