Issue: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached

@lucasdj Plugins yes, Analysing the heap-dump certainly helps memory-leak-issues.

We are trying to upgrade the plugins to as latest version available as possible compatible with the Jenkins Core version. Right now, we are on 4.462.3, Java 11.0.26.

Got some additional JAVA_OPTS we are testing on

-Djava.util.concurrent.locks.ReentrantReadWriteLock.timeout
-Djenkins.remoting.pooledThreadCount
-Djenkins.remoting.maxThreadCount
-XX:MaxPermSize

Hopefully this helps!