Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2009-12-11 Thread vinothofindia
Hi Antoine, Thanks for your reply. The "base.path" defined is as given below Please suggest me what should I have to do? Thanks, _Vino antoinell wrote: > > > Hell

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2009-12-08 Thread Antoine Levy Lambert
Hello Vino, how is base.path defined in your script ? Do you have a blurb somewhere looking like It looks like base.path is replaced at runtime literally with "" Regards, Antoine vinothofindia wrote: Hi, I have been encountering same issue. I got "java.lang.OutOfMemoryErr

RE: Frequent java.lang.OutOfMemoryError: Java heap space error

2009-12-07 Thread vinothofindia
Hi, I have been encountering same issue. I got "java.lang.OutOfMemoryError: Java heap space" when I tried to compile my code with ANT. So, I tried setting ANT_OPTS env var, that doesn't resolve the issue permanently and the issue occurred intermittently. Then I tried setting fork attribute in m

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2009-06-25 Thread Prashant Pharate
Hi, If you are getting an exception "Outof memory in eclipse" try following Right click on build.xml>Run as--->External tool conf--->In environment variable add ANT_OPTS variable with value -Xmx512M -XX:PermSize=1024m. Then in JRE tab add virtual memory argument select from variable list

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-11 Thread Stepan Mishura
On 12/10/07, Ravi Roy <[EMAIL PROTECTED]> wrote: > Hello all, > > I am running my product build with cruisecontrol using ant 1.7.0. Our testing infra hit the same problem with ANT 1.6.5. As workaround the infra forks ANT build in a separate process. Thanks, Stepan. I have set > ANT_OPTS=-Xms=153

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Steve Loughran
Ravi Roy wrote: Hi Steve, Build was started and I run Jconsole and at the time when Heap space problem occurred following is the jconsole output : Regards, Ravi VM Summary Monday, December 10, 2007 5:44:00 PM CET -- Connection name: pid: 860 sun.tools.

RE: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Ravi Roy
ce:  2,810,136 kbyte --- -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 9:43 PM To: 'Ant Users List' Subject: RE: Frequent java.lang.OutOfMemoryError: Java heap space error Thanks Steve, I am using Ant-contrib-b03 for some repeated operations

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Steve Loughran
Martin Gainty wrote: Hi Ravi This is what I configure to enable increased min/max heap (Note the collection of unused PermGen parameters) -Xmx512m -XX:MaxPermSize=512m -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -X X:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled that permgen thing i

RE: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Ravi Roy
: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 9:15 PM To: Ant Users List Subject: Re: Frequent java.lang.OutOfMemoryError: Java heap space error Ravi Roy wrote: > Hello all, > > I am running my product build with cruisecontrol using ant 1.7.0. I > have set A

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Martin Gainty
Hi Ravi This is what I configure to enable increased min/max heap (Note the collection of unused PermGen parameters) -Xmx512m -XX:MaxPermSize=512m -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -X X:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled HTH M- - Original Message - From: "R

RE: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Bourzeix , Hervé
have you tried to fork and specify the memoryInitialSize and memoryMaximumSize? you should try with another compiler if you were using Sun Javac, try jikes or even better eclipse compiler (org.eclipse.jdt.core.JDTCompilerAdapter) my 2cts... -Original Message- From: Ravi Roy [mailto:[

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Steve Loughran
Ravi Roy wrote: Hello all, I am running my product build with cruisecontrol using ant 1.7.0. I have set ANT_OPTS=-Xms=1536m -Xmx1536m, but still I am getting below mentioned error, I have searched mail archive, but I see ANT_OPTS settings, which I have already set, I get the following error :