ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project
Date Wed, 02 Mar 2005 09:47:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33162





------- Additional Comments From stevel@apache.org  2005-03-02 10:47 -------
you cant increase the memory for javac without forking, as it is the JVM itself
that is being given the memory allocation -you need a new JVM.

If you really are building big things, try using the jikes compiler instead. Its
a lot faster, and is always in a new process. What it does not do is compile
Java1.5 language extensions yet.

Interesting that you have a 64 bit box, presumably running a 64 bit linux
release? I suspect the memory requirement of 64-bit JVMs to be a lot higher,
just because all pointers doubled in size. I wonder what the default JVM size
has to be -it has to be more than 64M. But as a consequence, wherever you set a
JVM size in ant, those sizes will need to be bumped up too. (unless we try and
be clever and on 64 bit boxes, double all memory allocations. Something to consider)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message