ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Out of memory error when using external compiler
Date Tue, 09 Jul 2002 16:24:16 GMT

----- Original Message -----
From: "Suettenbach, Roger" <>
To: "'Ant Users List' (E-Mail)" <>
Sent: Tuesday, July 09, 2002 5:29 AM
Subject: Out of memory error when using external compiler

> Hi,
> I'm having memory problems :) when using the Clover Coverage tool. The
> following output should illustrate this.

> default:
>     [javac] Since build.compiler setting isn't classic or modern, ignoring
> fork setting.
>     [javac] Compiling 1139 source files
>    [clover] Clover Version 0.6b, built on June 26 2002
>    [clover] Updating database at './doc/clover/fs_coverage.db'
>    [clover] Clover all over. Instrumented 1139 files.
>     [javac] The compiler has run out of memory.  Consider using the
> "-J-mx<number>" command line option to increase the maximum heap size.

> My problem is that jdk1.3 doesn't support the -J-mx option, so that I
> use e.g. the 'memoryInitialSize' attribute. I also have no possibility to
> pass additional options to the CloverCompilerAdaper.

> Has anybody an idea how to increase the memory for an external compiler?

1. there is a -Xmx option in java1.3; type java -x to see what else it
2. as you cant fork this compiler adapter, you need to up the ant memory, so

or similar

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message