ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knuplesch, Jürgen <Juergen.Knuple...@icongmbh.de>
Subject AW: AW: Memory and Ant
Date Tue, 23 Oct 2007 16:04:35 GMT
I do not use the java-Task, but an ANT Task someone else wrote. If I could fork this Task and
give it the memory attribut it would be fine.

Thank you anyway!!

-- 
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: cknell@onebox.com [mailto:cknell@onebox.com] 
Gesendet: Dienstag, 23. Oktober 2007 17:58
An: user@ant.apache.org
Betreff: RE: AW: Memory and Ant

<java classname="org.abc.def.hijk.PostProcessRegexSwap" fork="true" maxmemory="256m">

</java>
--
Charles Knell
cknell@onebox.com - email



-----Original Message-----
From:     Knuplesch, Jürgen <Juergen.Knuplesch@icongmbh.de>
Sent:     Tue, 23 Oct 2007 16:43:40 +0200
To:       "Ant Users List" <user@ant.apache.org>
Subject:  AW: Memory and Ant

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: Sumit.Srivastava@ubs.com [mailto:Sumit.Srivastava@ubs.com] 
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:Juergen.Knuplesch@icongmbh.de]
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: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org

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: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message