Re: Memory and Ant

2007-10-23 Thread Gilles Scokart
t-IdNr.: DE 811944121 > -Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 23. Oktober 2007 16:32 > An: user@ant.apache.org > Betreff: RE: Memory and Ant > > Yes, > basically it needs to be passed as an argume

RE: Memory and Ant

2007-10-23 Thread Sumit.Srivastava
prüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Oktober 2007 16:32 An: user@ant.apache.org Betreff: RE: Memory and Ant Yes, basically it needs to be passed as an argument to java.exe. In ANT it can be accomplished, if you add "maxmemory=128

Re: Memory and Ant

2007-10-23 Thread glenn opdycke-hansen
if you are running from windows, then you can add an environment variable set ANT_OPTS=-Xms100m -Xmx256m This will set the initial heap to 100MB and the max heap to 256MB. --glenn On 10/23/07, Knuplesch, Jürgen <[EMAIL PROTECTED]> wrote: > > Hello, > > Is it possible to increase the memory of a

RE: Memory and Ant

2007-10-23 Thread Sumit.Srivastava
Yes, basically it needs to be passed as an argument to java.exe. In ANT it can be accomplished, if you add "maxmemory=128m" to the tasks. If you run ant with -v (verbose) option you would see that "maxmemory=128m" translates into java.exe -Xmx128m. HTH, Sumit To go far, explore first w