If you have recently upgraded CloudBees CI on modern cloud platforms from a version earlier than
126.96.36.199 and since then you notice that some of your instances are failing and/or getting restarted, a memory issue might be happening.
From version 188.8.131.52, the memory management has been changed allowing dynamically determine the JVM min/max with the options
If prior to that version your instance had set up the JVM option
-XX:MaxRAMFraction=1, you are being affected by this problem and you need to update the JVM parameters in order to get rid of those memory issues.
-XX:MaxRAMFraction=1 and replace it with
You can get more details in Java Heap settings best practice