Or you can set the memoryInitialSize and memoryMaximumSize attributes to larger 
values on the <javac> task specifically.

*** Don't forget to set the fork attribute to yes (otherwise it won't listen to 
the new values) ***

Hope that helps,

Ninju
 


----- Original Message ----
From: "Bourzeix, Hervé" <[EMAIL PROTECTED]>
To: Ant Users List <user@ant.apache.org>
Sent: Friday, August 3, 2007 4:36:00 AM
Subject: RE: Help Required.....


Try to modify the heap size and perm size of you JVM launching your ant 
for instance : 

-Xms128M -Xmx256M -XX:PermSize=64M -XX:MaxPermSize=128M

hervé

-----Original Message-----
From: Anil Kumar pippalapalli [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 11:30 AM
To: user@ant.apache.org
Subject: Help Required.....


Hi all,

I have written a Ant Build File for deploying in Weblogic Server 8.1.
when i try to compile java src files iam getting OutOfMemory error.
I think the problem is with classpath bcoz i have library consisting of 86MB
of jar files.
It is giving me errors like unresolved symbol  for import
org.apache.struts.actions.*
when i reduce the no of jar files in my library then it is not giving that
errors(but remember i require all the jar files to compile my source code).

Please help me in setting the classpath so that it accepts all the jar files
while compiling my src code.

Thanks in advance,

anil.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to