[ https://issues.apache.org/jira/browse/CACTUS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623922#action_12623922 ]
Petar Tahchiev commented on CACTUS-59: -------------------------------------- Also it could be that your WAR/EAR is really big, so Cactus is checking if the needed JARs are in the WEB-INF/lib folder. This issue might resolve your problem: http://issues.apache.org/jira/browse/CACTUS-258 It will be included in 1.8.1 > CactifyWar task throws OutOfMemory Error with large WAR files > ------------------------------------------------------------- > > Key: CACTUS-59 > URL: https://issues.apache.org/jira/browse/CACTUS-59 > Project: Cactus > Issue Type: Bug > Components: Ant Integration > Affects Versions: 1.5-beta1 > Environment: Operating System: Linux > Platform: PC > Reporter: brianj > > When using the CactifyWar task within Ant (v. 1.6), the build will fail with > an > OutOfMemory error. Stack trace follows: > [cactifywar] Analyzing war: > /usr/local/tdk-2.2/webapps/janus/WEB-INF/build/janus.war > > BUILD FAILED > java.lang.OutOfMemoryError > at org.apache.tools.ant.Project.executeTarget(Project.java:1246) > at org.apache.tools.ant.Project.executeTargets(Project.java:1094) > at org.apache.tools.ant.Main.runBuild(Main.java:668) > at org.apache.tools.ant.Main.startAnt(Main.java:220) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:213) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) > Caused by: java.lang.OutOfMemoryError > --- Nested Exception --- > java.lang.OutOfMemoryError > > Total time: 4 seconds > ----- End stack trace > - WAR file size: 44M > Build fails when Cactified WAR file reaches 9M. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]