-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: All, OS: Linux
My build completes successfully, but the warnings generation part fails with an
OutOfMemoryError. I tried setting -Xmx in the Advanced options for Maven to a
large value, but it didn't help. Does the plugin launch Java using those same
parameters specified under Maven/Advanced, or does it launch Java with the
default options?
...
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 96 minutes 49 seconds
[INFO] Finished at: Fri Nov 21 10:29:47 PST 2008
[INFO] Final Memory: 196M/760M
[INFO] ------------------------------------------------------------------------
channel stopped
[WARNINGS] Parsing warnings in log file...
FATAL: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:518)
at java.lang.StringBuffer.append(StringBuffer.java:307)
at java.io.StringWriter.write(StringWriter.java:72)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1129)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1104)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1050)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:359)
at hudson.plugins.warnings.parser.RegexpParser.parse(RegexpParser.java:69)
at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:66)
at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:110)
at
hudson.plugins.warnings.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:172)
at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:318)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:453)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:291)
at hudson.model.Run.run(Run.java:813)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:205)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:88)