Teedaをビルドすると、その後、Hudsonを起動する時に、OutOfMemoryを吐く。

とりあえず、StackTraceだけ。

[Winstone 2008/05/20 19:01:07] - Untrapped Error in Servlet
java.lang.OutOfMemoryError: Java heap space
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:259)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:68)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at org.kohsuke.stapler.MetaClass.(MetaClass.java:48)
        at org.kohsuke.stapler.MetaClass.get(MetaClass.java:416)
        at org.kohsuke.stapler.MetaClass.(MetaClass.java:47)
        at org.kohsuke.stapler.MetaClass.get(MetaClass.java:416)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:386)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:360)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:120)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
        at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
        at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
        at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
        at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
        at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
        at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
        at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
        at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
        at java.lang.Thread.run(Thread.java:619)

2008/05/20 19:01:07 hudson.model.Hudson load
警告: Failed to load C:\Documents and Settings\taichi\.hudson\jobs\Teeda
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOfRange(Arrays.java:3209)
        at java.lang.String.(String.java:216)
        at java.lang.StringBuffer.toString(StringBuffer.java:585)
        at com.thoughtworks.xstream.io.path.PathTracker.getPath(PathTracker.java:124)
        at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.getCurrentReferenceKey(ReferenceByXPathUnmarshaller.java:36)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:43)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49)
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
2008/05/20 19:01:07 hudson.model.Hudson load
情報: Took 343519 ms to load
2008/05/20 19:08:11 hudson.model.Run run
情報: teeda-integration-test #0 main build action completed: FAILURE
2008/05/20 19:08:11 org.werkzeugkasten.hudson.gainer.Gainer initialize
情報: version check. OK
2008/05/20 19:08:11 org.werkzeugkasten.hudson.gainer.Gainer setVerbose
情報: silent mode
2008/05/20 19:08:11 org.werkzeugkasten.hudson.gainer.Gainer configuration
情報: configuration: MODE1
2008/05/20 19:08:11 org.werkzeugkasten.hudson.gainer.Gainer initialize
情報: get ready!
closing //./COM3
closing //./COM3
[Winstone 2008/05/20 19:10:48] - Control thread shutdown successfully
[Winstone 2008/05/20 19:10:48] - Winstone shutdown successfully

ちなみに、件のTeedaプロジェクトは、これ。

https://www.seasar.org/svn/teeda/trunk/teeda/

maven2でビルド出来るようになっとります。

ゴールは、

clean install

MAVEN_OPTSに

-Xms256m -Xmx512m

と設定しているます。


使っているHudsonは、1.215。まぁ、そんな感じ。