tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Janner" <>
Subject RE: java.lang.OutOfMemoryError: PermGen space
Date Wed, 16 Sep 2009 15:16:28 GMT
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

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

> From: Jeffrey Janner []
> 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

 - Chuck

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:
For additional commands, e-mail:

*******************************  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:
For additional commands, e-mail:

View raw message