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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to