Re: How to increase memory used by JVM in Ant

2009-08-07 Thread KKnautiyal
; > Thanks > > -- View this message in context: http://www.nabble.com/How-to-increase-memory-used-by-JVM-in-Ant-tp15499056p24864542.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubsc

Re: How to increase memory used by JVM in Ant

2009-03-03 Thread Raja Nagendra Kumar
Add this line in ant.bat first line.. set ANT_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=120m Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://www.nabble.com/How-to-increase-memory-used-by-JVM-in-Ant-tp15499056p22308173.html Sent from the Ant - Users

Re: How to increase memory used by JVM in Ant

2008-02-16 Thread Hariharasudhan R
Hi, This is most likely a logic/programming error. Target A calls Target B which in turn calls Target A which again calls Target B.. Target A -> Target B -> Target A -> Target B.. This sets up an infinite recursion, which will result in a StackOverFlowError.. You can increase the stack si

Re: How to increase memory used by JVM in Ant

2008-02-16 Thread glenn opdycke-hansen
If it is a heap size issue, then you might want to get a verbose gc trace. --glenn

Re: How to increase memory used by JVM in Ant

2008-02-16 Thread glenn opdycke-hansen
Just a guess, but perhaps you need to log or record the depth of the calls. There may be a logic situation and not a heap size issue. --glenn On Feb 16, 2008 12:18 AM, Z W <[EMAIL PROTECTED]> wrote: > Hi Glenn > > In one of my previous post, I got jstack error when 2 targets are calling > each ot

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Z W
Hi Glenn In one of my previous post, I got jstack error when 2 targets are calling each other. I have 2 targets namely A, B. Target A calls target B. Inside target A has an if-then-else condition that would stop calling target B if condition is met. Target B calls target A every 2 seconds after pe

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread glenn opdycke-hansen
Why do you need to alter the heap memory use by the JVM for Ant? Is there a problem that you are dealing with? Why do you want to do this via a command? I would set the ANT_OPTS as an environment variable, but you could set it via a command, too. I have done so below and made the initial heap so l

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Tommy Nordgren
On 15 feb 2008, at 12.05, Z W wrote: Hi What's the complete command string example to increase memory used by JVM in Ant 1.7 ? What's the min and max memory size for this ? Thanks You should set the environment variable ANT_OPTS to contain the settings needed by the Java virtual Machin

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Z W
Scott thanks for your response. Could someone provide the specific command line option I could use ? Advance Thanks On Feb 15, 2008 9:09 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > I think you define ANT_OPTS if I remember correctly...but do so with the > normal Java -Xmx -Xms options... >

Re: How to increase memory used by JVM in Ant

2008-02-15 Thread Scot P. Floess
I think you define ANT_OPTS if I remember correctly...but do so with the normal Java -Xmx -Xms options... Z W wrote: Hi What's the complete command string example to increase memory used by JVM in Ant 1.7 ? What's the min and max memory size for this ? Thanks -- Scot P. Floess 27 Lake

How to increase memory used by JVM in Ant

2008-02-15 Thread Z W
Hi What's the complete command string example to increase memory used by JVM in Ant 1.7 ? What's the min and max memory size for this ? Thanks