This error does not appear to be coming from Jenkins (no jenkings classes in the stack trace) - So I would examine the job that is being executed and check if the maven options you set are actually taking effect. I do not see maven classes in the stack trace either, so this may be some tool Maven runs as a separate process, so you need to check the args there.
-M On Tuesday, October 25, 2016 at 9:23:34 AM UTC-7, GBANE FETIGUE wrote: > > Hi folks, > I am running Jenkins on Centos 6.5 base image and even though I have > enough memory I am always having that weird error message below. FYI I have > set on configuration system "Global maven OPTS this : -Xmx2048m > -XX:-UseGCOverheadLimit -XX:MaxPermSize=512m > but nothing. any other ideas that might help ? > > FATAL: PermGen spacejava.lang.OutOfMemoryError > <http://stacktrace.jenkins-ci.org/search?query=java.lang.OutOfMemoryError>: > PermGen space > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:2615) > at java.lang.Class.getDeclaredMethods(Class.java:1860) > at > com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:674) > at > com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366) > at > org.eclipse.sisu.wire.DependencyAnalyzer.analyzeImplementation(DependencyAnalyzer.java:224) > at > org.eclipse.sisu.wire.DependencyAnalyzer.visit(DependencyAnalyzer.java:122) > at > org.eclipse.sisu.wire.DependencyAnalyzer.visit(DependencyAnalyzer.java:1) > at > com.google.inject.internal.UntargettedBindingImpl.acceptTargetVisitor(UntargettedBindingImpl.java:41) > at org.eclipse.sisu.wire.ElementAnalyzer.visit(ElementAnalyzer.java:177) > Finished: FAILURE > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/10b446fa-39a5-43c5-a7f2-c8b6ff3bf610%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.