PermGen space

15 views
Skip to first unread message

GBANE FETIGUE

unread,
Oct 25, 2016, 12:23:34 PM10/25/16
to Jenkins Users
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 space
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
 

Michael Lasevich

unread,
Oct 25, 2016, 1:07:03 PM10/25/16
to Jenkins Users
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
Reply all
Reply to author
Forward
0 new messages