ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
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 Loughran        
Author: Ant in Action 

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

View raw message