tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: tomcat memory usage
Date Wed, 27 Jan 2010 20:32:01 GMT
> From: Christopher Schultz [mailto:chris@christopherschultz.net]
> Subject: Re: tomcat memory usage
> 
> What else goes into PermGen, other than java.lang.Class objects?

It varies by JVM level.  In the original HotSpot implementation it was pretty much just the
instances of java.lang.Class.  As things evolved, a lot of class/method/field metadata migrated
into PermGen from the C heap, pushed there, I suspect, by the growing use and sophistication
of JMX and JVMTI, as well as making it easier for GC to clean up dead classes.  AFAIK, none
of these secondary structures are directly visible to Java code.

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

Mime
View raw message