[ 
https://issues.apache.org/jira/browse/CACTUS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623915#action_12623915
 ] 

Magnus Grimsell commented on CACTUS-59:
---------------------------------------

I think this should be solved in Cactus 1.8 by the use of cargo 0.8+.

http://jira.codehaus.org/browse/CARGO-210

> 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]

Reply via email to