jenkins-java-lang-outofmemoryerror-permgen-space-issues

How to Resolve jenkins java.lang.outofmemoryerror permgen space issues?

Solution 1 In Windows: Go to environment variable and add following variables export JAVA_OPTS=”-XX:MaxPermSize=512m -Xms512m -Xmx1024m” export GRADLE_OPTS=”-XX:MaxPermSize=512m” export SONAR_RUNNER_OPTS=”-Xmx512m -XX:MaxPermSize=512m” In Linux: In my ~/.bash_profile file, I have set…

Read more »