> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp
> reload"
> 
> Does that mean that, technically speaking, PermGen is allowed 
> to grow to take over the whole heap?

No, PermGen is independent of the general heap, limited by MaxPermSize and -Xmx 
respectively.  They are allocated contiguously to insure that the underlying 
reference marking of HotSpot GC works properly.

> Odd that the NewSize can exceed the maximum heap.

It can't really; if I get time before going on vacation this Friday I'll look 
to see where that number comes from.

> You *did* say it was unnecessarily complicated ;)

Probably "seemed like a good idea at the time."

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to