ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: BUILD FAILED: java.lang.OutOfMemoryError
Date Sat, 24 Feb 2001 09:00:35 GMT
Bill,

try

JAVACMD=java -Xmx256m

Conor

----- Original Message -----
From: "Bill Brooks" <wbrooks@lug.ee.calpoly.edu>
To: <ant-user@jakarta.apache.org>
Sent: Saturday, February 24, 2001 4:20 PM
Subject: BUILD FAILED: java.lang.OutOfMemoryError


>
> I'm using the <style> task to build .pdf and .xhtml documents from 2 sets
> of XML sources based on the DocBook DTD. The documents themselves aren't
> that large, 45856 and 2080 bytes respectively, but I'm consistently
> getting the following error message (ant -version reports "Ant version
> 1.3alpha compiled on November 29 2000"):
>
> fo:
>     [style] Transforming into
> /usr/local/home/wbrooks/box/jasig/ongoing/portal/docs/administrators
>     [style] Loading stylesheet
>
/usr/local/home/wbrooks/box/jasig/ongoing/portal/docs/administrators/styles
heets/fo/jasig_docbook.xsl
>
> BUILD FAILED
>
> java.lang.OutOfMemoryError
>
> ...How can I get Ant to use more memory? The machine its running on has
> plenty...Can I pass arguments to the JVM that ant is invoking?
>
> Bill
>
>


Mime
View raw message