ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Dettori" <markus.dett...@wuerth-phoenix.com>
Subject Re: JDK1.4.1 and java
Date Tue, 08 Apr 2003 15:00:45 GMT
Tim Gordon <tim.gordon@allustra.com> scribbled earlier on Tuesday, April 08,
2003 4:42 PM:

> 11000 files... yes, that's quite a few...

Yep and very annoying if the javac complains after 30 minutes of
compile activities that there's not memory left ;-)


therefore I will start the javac via java and give him a special amout of
memory
with the following JVM parameter the compiler runs in:
-XX:MaxPermSize=150m
then it should work.

the <compilerarg> thing is only a list for the javac itself not the jvm the
arg is running with.
I just tried it, but the args are only for the class sun.tools.javac.Main
itself.
<memorysize =1GB> but this is not enough and setting it to a higher value
ends with
a "could not allocate such a big heap" or similar.

so far,
Markus






Mime
View raw message