I have three Jenkins controllers, all using the same bare metal remote machine. The remote machine has 132G of RAM, and the remoting.jar java processes occupy 48G, 46G and 39G RAM! As a result, builds regularly run out of memory.
After a few hours of searching and reading, I found in the openshift documentation the following statement:
By default, each further JVM process run in a Jenkins agent container will use up to 25% of the container memory limit for their heap.
Looking at the remoting source code, I can’t find a reference to such limit.
What’s the limit on an unconfigured remoting agent (no java options are used to run the SSH remote agent).