Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Out oF memory error in hudson while using Insight for CI plugin
Out oF memory error in hudson while using Insight for CI plugin [message #986160] Mon, 19 November 2012 09:07 Go to next message
minu martin is currently offline minu martin
Messages: 2
Registered: November 2012
Junior Member
I am getting out of memory error in hudson while using Insight for CI plugin. Hudson memory config is as given below:
export CATALINA_OPTS="-Xmn100m -Xms512m -Xmx512m -XX:MaxPermSize=768m"
export JAVA_OPTS="-Xmn100m -Xms512m -Xmx512m -XX:MaxPermSize=768m"

Stack trace of error:
SEVERE: Weaving class problem. Original class has been returned. The error was caused because of: java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:139)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.defineClass(ExtensibleURLClassLoader.java:63)
at org.aspectj.weaver.loadtime.WeavingURLClassLoader.defineClass(WeavingURLClassLoader.java:151)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.defineClass(ExtensibleURLClassLoader.java:97)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.findClass(ExtensibleURLClassLoader.java:52)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:139)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.defineClass(ExtensibleURLClassLoader.java:63)
at org.aspectj.weaver.loadtime.WeavingURLClassLoader.defineClass(WeavingURLClassLoader.java:148)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.defineClass(ExtensibleURLClassLoader.java:97)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.findClass(ExtensibleURLClassLoader.java:52)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:139)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.defineClass(ExtensibleURLClassLoader.java:63)
at org.aspectj.weaver.loadtime.WeavingURLClassLoader.defineClass(WeavingURLClassLoader.java:148)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.defineClass(ExtensibleURLClassLoader.java:97)
at org.aspectj.weaver.bcel.ExtensibleURLClassLoader.findClass(ExtensibleURLClassLoader.java:52)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
Nov 19, 2012 6:50:50 AM org.aspectj.weaver.tools.Jdk14Trace error
SEVERE: Weaving class problem. Original class has been returned. The error was caused because of: java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Nov 19, 2012 6:50:55 AM org.aspectj.weaver.tools.Jdk14Trace error
SEVERE: Weaving class problem. Original class has been returned. The error was caused because of: java.lang.OutOfMemoryError: PermGen space

Re: Out oF memory error in hudson while using Insight for CI plugin [message #986230 is a reply to message #986160] Mon, 19 November 2012 14:28 Go to previous messageGo to next message
Jamie Whitehouse is currently offline Jamie Whitehouse
Messages: 1
Registered: November 2012
Junior Member
Hi.

PDF generation may require additional JVM permgem memory. If you plan on using the PDF export feature you will want to consider the additional memory needed for your CI installation.

Without any other plugins, in our test environment with a Sun 1.7 64bit JVM that appears to default to 85 MB of permgen, we had to increase it slightly since we occasionally hit that limit.

If you're running a master/slave setup you'll want to make this change to the master since that's where the report is generated when requested. Remember to restart your server when you make the JVM config changes.

Cheers,
Jamie.
Re: Out oF memory error in hudson while using Insight for CI plugin [message #986255 is a reply to message #986230] Mon, 19 November 2012 16:24 Go to previous message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

Hmmm, it looks like there's an issue where it might not properly pass in the arguments.

What OS is this on?
Windows - Check the hudson.xml file which will contain the actual location for jvmargs. (since process based tasks can't use JAVA_OPTS).

Is there any way you can get the full jvm argument list?


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Previous Topic:Hudson delete old bild problem
Next Topic:Need your advice for selecting a build machine tool
Goto Forum:
  


Current Time: Thu Sep 18 19:51:02 GMT 2014

Powered by FUDForum. Page generated in 0.02689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software