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 Tue, 01 Mar 2005 23:32:09 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 carej@us.ibm.com  2005-03-02 00:32 -------
The ammount of physical RAM in your machine has very little to do with how much
memory is actually allocated to the JVM heap. I supposed you could view it as
the upper bound on the heap, but that's not even really true because the host OS
needs some, as do other procs on the box, etc.

Try fiddling with the -Xmx options to increase the maximum heap size. I'm not
sure what the default max heap size is, and it might even vary by vendor (and
perhaps even amongst different VMs from the same vendor).

For a point of reference, to build WebSphere we use -Xmx512M

I've also been able to make javac run out of stack space, but there's a
different flag for that.

-- 
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