I have a memory leak due to the SSE Gateway plugin which causes my Jenkins instance to hit an Out of Memory error
- CloudBees Core
- CloudBees Core on modern cloud platforms - Managed Master
- CloudBees Core on modern cloud platforms - Operations Center
- CloudBees Core on traditional platforms - Client Master
- CloudBees Core on traditional platforms - Operations Center
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Enterprise - Operations Center
- CloudBees Jenkins Platform - Client Master
- CloudBees Jenkins Platform - Operations Center
- Server Sent Events (SSE) Gateway Plugin version 1.17 or older
As described in JENKINS-51057 the SSE Gateway plugin holds on to a queue of tasks and if those do not finish in a timely manner they can end up stacking up on the instance. This can result in the plugin using up large amounts of memory in the JVM, eventually causing an OOM error on the instance.
Upgrade the SSE Gateway plugin 1.18 and this queue will timeout tasks that are in the queue after a certain amount of time.