Please append the following lines to /etc/default/go-agent(if go-agent is not present, please use /etc/default/cruise-agent).
Steps to bump up agent memory
==============================
####### agent memory bump
AGENT_MEM='400m'
AGENT_MAX_MEM='400m'
#######
After having made this change, please bounce the agent using:
/etc/init.d/go-agent restart
(or)
/etc/init.d/cruise-agent restart
If you are using windows, you want to set the two environment variables globally(system-wide), and then bounce the Go Agent service.
Comments
1 comment
Is this still the correct way to increase memory available to an agent? I tried this (with values all the way up to 3000m), but my mvn builds are still crashing when run via Go.
Please sign in to leave a comment.