hi: thanks for replying the jvisualvm does show the capacity and the used of the perm gen that the vm use *currently* but not the size of the vm* configuration*: PermSize and MaxPermSize
in my opinion , the MaxPermSize is the size that the perm gen is *allowed to expand to*, and the PermSize is the size that allocated when the vm*initially *started. and the capacity is the size that allocated to the vm* currently*. am I right? thanks by the way, I connect to a server remotely , there is only character interface for me best regards 2010/11/24 Blair Zajac <bl...@orcaware.com> > You should check out jvisualvm which comes with any recent HotSpot JVM. I > don't have a copy available on the laptop I'm on right now, but by looking > at the screenshots, it looks like it shows the permanent generation: > > > http://wiki.oracle.com/page/How+to+use+JConsole,+JVisualVM+or+VisualVM+with+Oracle+Application+Server > > Blair > > > On Nov 23, 2010, at 9:54 PM, xu cheng wrote: > > thanks!!! you really help me a lot! >> >> someone knows how to figure out how much permanent gen my vm is using? >> >> 2010/11/24 Caldarale, Charles R <chuck.caldar...@unisys.com> >> >> From: xu cheng [mailto:xcheng....@gmail.com] >>>> Subject: Re: the memory puzzle me.... >>>> >>> >>> by the way, do you know *any tool that can monitor the permanent >>>> generation*, such what's now resident in the perm gen? >>>> >>> >>> I presume you mean on Windows, since you already found one for Linux. I >>> suspect the more sophisticated profilers like YourKit will do it, but I'm >>> not sure. Others on the list use YourKit regularly, so they might be >>> able >>> to be more definitive when they wake up in an hour or two. >>> >>> - 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 >>> >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >