If you have recently upgraded CloudBees CI on modern cloud platforms from a version earlier than
18.104.22.168 and since then you notice that some of your instances are failing and/or getting restarted, a memory issue might be happening.
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed Master
- CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
From version 22.214.171.124, 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