ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36156] - Linux - Build process fails OutOfMemoryError
Date Fri, 12 Aug 2005 04:47:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36156>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36156





------- Additional Comments From lakshmioffice@yahoo.com  2005-08-12 06:47 -------
(In reply to comment #3)
> ANT can output its result in XML format. Can you isolate the target(s) that
> require a lot of memory? The target that finally crashes is not always the
> reason for the crash. Do you use scripts and/or third party tasks?
> What ANT version are you using on Linux?

I am using apache-ant-1.6.2 Most of the Ant script was written by me using a 
different project ANT script as template. 

Here is what happend in the last few minutes:
Changed .bash_profile to export ANT_OPTS="-Xmx1536m -Xms256m" based on input 
from ASF Bugzilla Bug 28261. It helped to get over the OutOfMemoryError and 
ended in SCP error "pipe closed". I have listed the output below, ,but I am 
still worried about the OutOfMemoryError. I am suspicious that it will come 
again.

Thanks

   [untar] expanding yantraClusterDeploy.jacl 
to /app/yandev00/NOMSbuild/artifacts/temp/yantraClusterDeploy.jacl
    [untar] expand complete
      [scp] Connecting to fralnxnmsapp4:22
      [scp] Sending: yantraDeploy.jacl : 9332
      [scp] File transfer time: 0.07 Average Rate: 137,235.29 B/s
      [scp] done.
      [scp] Connecting to fralnxnmsapp4:22
      [scp] Sending: yantra.ear : 144780871
      [scp] File transfer time: 187.65 Average Rate: 771,535.07 B/s
      [scp] done.
      [scp] Connecting to fralnxnmsapp4:22
      [scp] Sending: yantraFiles.tar : 1285427200
      [scp] KEXINIT
      [scp] File transfer time: 1,182.28 Average Rate: 906,975.61 B/s
      [ant] Exiting /app/yandev00/NOMSbuild/deploy/script/yantraBuild.xml.

BUILD FAILED
/app/yandev00/NOMSbuild/build1.xml:145: The following error occurred while 
executing this line:
/app/yandev00/NOMSbuild/deploy/script/yantraBuild.xml:474: 
java.io.IOException: Pipe closed
        at org.apache.tools.ant.ProjectHelper.addLocationToBuildException
(ProjectHelper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: /app/yandev00/NOMSbuild/deploy/script/yantraBuild.xml:474: 
java.io.IOException: Pipe closed
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:187)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
                                                                               
                         


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message