ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: Nubie -- how to increase memory for compiler?
Date Tue, 14 Nov 2000 22:39:43 GMT
Jay,

set JAVACMD=java -Xmx256m

and then run ant. It will use a 256 M heap. Change as appropriate.

Conor


--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Jay Glanville [mailto:dickon@nortelnetworks.com]
> Sent: Wednesday, 15 November 2000 7:01
> To: Ant-User (text)
> Subject: Nubie -- how to increase memory for compiler?
>
>
> I'm trying to use ant, but I keep on getting an OutOfMemoryError:
>
> ---->8-------------------------------------------------------------
> The system is out of resources.
> Consult the following stack trace for details.
>
> java.lang.OutOfMemoryError
>         <<no stack trace available>>
>
> BUILD FAILED
>
> V:\TNUI\tools\loadbuild\build.xml:98: Error starting modern compiler
> V:\TNUI\tools\loadbuild\build.xml:98: Compile failed, messages should have
> been
> provided.
>         at
> org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:523)
>         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:338)
>         at org.apache.tools.ant.Target.execute(Target.java:142)
>         at org.apache.tools.ant.Project.runTarget(Project.java:818)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:532)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:506)
>         at org.apache.tools.ant.Main.runBuild(Main.java:400)
>         at org.apache.tools.ant.Main.main(Main.java:130)
> Error starting modern compiler
> ---->8-------------------------------------------------------------
>
> How do I increase the memory stack?
>
> ------------------------------------------------------------------
> ----------
> -----
> Jay Dickon Glanville
> P068 - SiteManager Development, Nortel Networks
> 613-765-1144 (ESN 395-1144)
> MS: 045/55/A05
> E-Mail: dickon@nortelnetworks.com
>
>


Mime
View raw message