« Return to Thread: Frequent java.lang.OutOfMemoryError: Java heap space error

Re: Frequent java.lang.OutOfMemoryError: Java heap space error

by Steve Loughran :: Rate this Message:

Reply to Author | View in Thread

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@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Frequent java.lang.OutOfMemoryError: Java heap space error