RE: Showing Tomcat Memory Utilization with 'top'

2010-06-23 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Showing Tomcat Memory Utilization with 'top' > > I didn't realize that the server JVM didn't share class > templates. Do you have any ideas why not? AFAIK, Sun just hadn'

Re: Showing Tomcat Memory Utilization with 'top'

2010-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/22/2010 5:00 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Showing Tomcat Memory Utilization with 'top' >> >> Also, I believe VIRT

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Subject: RE: Showing Tomcat Memory Utilization with 'top' > > 'top' shows 30-40MB in the 'SHR' column for each java > process. Is that what you're referring to? That could be any memory (

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Showing Tomcat Memory Utilization with 'top' > > Also, I believe VIRT includes memory shared with other processes Doesn't RES also include shared pages - anything that's in the memor

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Robinson, Eric
> Also, I believe VIRT includes memory shared with other > processes, so if you have 50MiB of Java system classes > loaded and a modern JVM which shares them among running JVMs, > then you'll see that 50MiB included in every process's VIRT > that is sharing it, which is somewhat misleading. E

Re: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/22/2010 3:22 PM, Caldarale, Charles R wrote: >> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] >> Subject: Showing Tomcat Memory Utilization with 'top' >> >> 1. Top shows 0k of swap usage, so the system is not swapping. In that >> c

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Subject: RE: Showing Tomcat Memory Utilization with 'top' > > For example, I have a tomcat configured to use 96MB of heap (export > JAVA_OPTS="-ms96M -mx96M"). Top shows VIRT=336396, RES=227264. I&#x

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Robinson, Eric
>> 2. Where does the 64MB of java heap show up? > Buried inside the VIRT number. For example, I have a tomcat configured to use 96MB of heap (export JAVA_OPTS="-ms96M -mx96M"). Top shows VIRT=336396, RES=227264. I'm guessing that the 96MB of heap is buried in BOTH the VIRT and RES numbers? -- E

RE: Showing Tomcat Memory Utilization with 'top'

2010-06-22 Thread Caldarale, Charles R
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Subject: Showing Tomcat Memory Utilization with 'top' > > 1. Top shows 0k of swap usage, so the system is not swapping. In that > case, why is there a difference between the VIRT and RES numbers? Linux always allocates more virtual space t