You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Vincent Massol (JIRA)" <ca...@jakarta.apache.org> on 2005/01/27 22:17:43 UTC

[jira] Updated: (CACTUS-59) CactifyWar task throws OutOfMemory Error with large WAR files

     [ http://issues.apache.org/jira/browse/CACTUS-59?page=history ]

Vincent Massol updated CACTUS-59:
---------------------------------

    Fix Version:     (was: 1.7)

> CactifyWar task throws OutOfMemory Error with large WAR files
> -------------------------------------------------------------
>
>          Key: CACTUS-59
>          URL: http://issues.apache.org/jira/browse/CACTUS-59
>      Project: Cactus
>         Type: Bug
>   Components: Ant Integration
>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org