> From: Bruce Wayne [mailto:[email protected]] > Subject: Re: java.lang.OutOfMemoryError: PermGen space > > What's "too many classes" ?
More than will fit in PermGen. > Heap usage is around 1GB. You need to be more specific; post the sizes for each portion of the heap, including PermGen. Also, which GC algorithms are being used? You'll find them on the VM Summary tab. > -Xms1024m -Xmx3012m Generally better in a server environment to set -Xms and -Xmx to the same value; avoids pointless heap resizing. Nothing to do with your PermGen problem, however. > -XX:NewSize=512m -XX:MaxNewSize=1024m Why are you setting these explicitly? Let the JVM do it, so it can adjust them appropriately for the characteristics of the webapps. - 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: [email protected] For additional commands, e-mail: [email protected]
