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 ?
You should check the following values in wrapper.conf (Make sure to do proper testing in case you do any configuration changes)
wrapper.java.initmemory is configuration parameter that controlling the initial amount of memory (in megabytes) that the JVM should allocate at startup (By default its comment out)
wrapper.java.maxmemory is configuration parameter that controlling the max heap size (in megabytes)
OK, I commented out the wrapper.java.maxmemory 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.
I think its depend on the OS and tasks you will execute by the agent
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.
Thank you for your answer. You are right, we should definitely use the custom.wrapper.conf file.