ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glenn opdycke-hansen" <glenn...@gmail.com>
Subject Re: Memory and Ant
Date Tue, 23 Oct 2007 15:05:36 GMT
if you are running from windows, then you can add an environment variable
set ANT_OPTS=-Xms100m -Xmx256m

This will set the initial heap to 100MB and the max heap to 256MB.

--glenn


On 10/23/07, Knuplesch, Jürgen <Juergen.Knuplesch@icongmbh.de> wrote:
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message