OK, thanks for clearing that up.  Wish Sun was as clear.
That does explain why I had issues with 32-bit Windows. (not my 1st OS
choice)


-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Wednesday, September 16, 2009 10:06 AM
To: Tomcat Users List
Subject: RE: java.lang.OutOfMemoryError: PermGen space

> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
> 
> See my other posts, I did re-read the tuning guide and it specifically
> states PermGen is part of Heap.

The total heap (NewGen + OldGen + PermGen) is allocated in one
contiguous chunk of virtual space, which can be a problem when fitting
it all in on a 32-bit process.  However, the -Xmx is just for NewGen +
OldGen; the PermGen size remains independent.  This has been true since
HotSpot was first available.  Prior to HotSpot, instances of
java.lang.Class were allocated from the general Java heap, not
segregated.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to