ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Frequent java.lang.OutOfMemoryError: Java heap space error
Date Mon, 10 Dec 2007 16:29:33 GMT
Martin Gainty wrote:
> Hi Ravi
> 
> This is what I configure to enable increased min/max heap
> (Note the collection of unused PermGen parameters)
> -Xmx512m -XX:MaxPermSize=512m -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -X
> X:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled

that permgen thing is a pain; OutOfPermGenSpace is a real annoyance. 
JRockit does not have this split; you get one heap for everything. I 
find it eliminates a lot of error messages I would otherwise see.

-steve

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message