ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Problem Building Large Project in ANT
Date Thu, 28 Feb 2002 13:50:41 GMT
> I have been facing some problems with builds for the
> past 2-3 days.
> I was getting the following error while building our
> application on Win2k with jdk1.3.1_02 :
> 
> [javac] Compiling 1506 source files to
> M:\rel1.1.0_build_36\cora\src\build\w
> EB-INF\classes
> [javac]
> [javac]
> [javac] The system is out of resources.
> [javac] Consult the following stack trace for details.
> [javac]
> [javac] java.lang.OutOfMemoryError
> [javac]     <<no stack trace available>>
> 
> 
> I then used the fork option set to yes in task javac.
> This solved the problem on Win2k and the build started
> going thru.
> However, the same option setting on SunOS failed.
> 
> What could be the problem on Unix. How can I debug
> it??
> 
> Guys, I am very new to ANT ...started couple of weeks
> back and hence I am not well versed with all the
> tricks.

As well as setting the fork option, you should try setting the memoryMaximumSize parameter.

Jon

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


Mime
View raw message