Hi Sumit,

Thank you for the answer!! 
I did not understand, where I have to make a change:

What do you mean in this context with the expression "tasks"?
Do you mean a batchfile or the commandline or an Ant Task or the ANT cmd-File 
or sth else?

Please show me an example?



-- 
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-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 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 what is near..

-----Original Message-----
From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 9:56 AM
To: user@ant.apache.org
Subject: Memory and Ant

Hello,

Is it possible to increase the memory of an Ant-Buildprocess via "-Xmx128m" and 
where do I have to put it?

My Buildprocess quits with a java.lang.OutOfMemoryError Message.

Greetings

-- 
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 

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

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only for the 
individual named.  If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.  Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses.  The sender therefore does not accept liability 
for any errors or omissions in the contents of this message which arise as a 
result of e-mail transmission.  
If verification is required please request a hard-copy version.  This message 
is provided for informational purposes and should not be construed as a 
solicitation or offer to buy or sell any securities or related financial 
instruments.


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


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

Reply via email to