ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <>
Subject RE: java.lang.OutOfMemoryError with Ant1.4 on jdk1.3
Date Fri, 28 Sep 2001 16:13:24 GMT
Don't the Sun java memory options start with "-X"?  So, it would be -Xms64m
and -Xmx521m...


-----Original Message-----
From: Johan Adelow []
Sent: Friday, September 28, 2001 9:12 AM
Subject: RE: java.lang.OutOfMemoryError with Ant1.4 on jdk1.3

I?ve now found out that ant works on Linux and Win2000 with jdk1.3.1 if I
use the -classic option for the JVM but that option isn?t avaliable on

I have used
  -ms64m -mx521m
as parameters to ANT_OPTS.

Actually ant 1.3 does not work either if I use jdk1.3.1_01 (latest release
of 1.3 for Sun Solaris)


-----Original Message-----
From: Diane Holt []
Sent: den 28 september 2001 15:51
Subject: Re: java.lang.OutOfMemoryError with Ant1.4 on jdk1.3

--- Johan_Adelvw <> wrote:
> I4ve tried to increase the java memory parameters but without sucess.

What did you do to increase the memory? If you set the flags that 'java'
wants for that into the ANT_OPTS environment variable, it should work.



Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.

View raw message