> 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