On 13/07/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote:
Does anyone encounter any same kind of my problem ? We are running an JVM application that call Ant within Java ? Am I calling Ant in a wrong way ? Does anyone has a good reference for an accurate Java call to Ant. It is Ant 1.6.2. Exception occurred once in a while, namely not on the same targets. Very strange behavior indeeed./APPLICATIONS/prism/PrismResources/WF_depl_on_platform/scripts/earAntBui ld.xml:649: java.lang.OutOfMemoryError at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:131) 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 com.dexiabil.prism.apre.ant.OurAntMain.runBuild(OurAntMain.java:485) at com.dexiabil.prism.apre.ant.OurAntMain.startAnt(OurAntMain.java:252) at com.dexiabil.prism.apre.ant.OurAntMain.startAnt(OurAntMain.java:204) at com.dexiabil.prism.apre.ant.OurAnt.startAnt(OurAnt.java:41) at com.dexiabil.prism.apre.agent.AntAgent.use(AntAgent.java:131) at com.dexiabil.prism.bpm.call.AsyncCall$UsageThread.run(AsyncCall.java:115 ) Caused by: java.lang.OutOfMemoryError --- Nested Exception --- java.lang.OutOfMemoryError Thnak you in advance Sebastien --------------------- An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. --------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The only that comes in my mind is that you can try increasing java heap space. When you start your application that calls ant try specifying this java -Xms256m or try to allocate more memory. By the way, what kind of stuff are you trying to build with ant, and also you may consider updgrading to Ant 1.6.5. -- Regards, Petar! Karlovo, Bulgaria. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
