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 Fri, 29 Jan 2010 15:10:52 GMT
> From: Hüsnü Þentürk [mailto:husnusenturk@yahoo.com]
> Subject: Re: tomcat memory usage
> 
> Is following classifications true for memory usage of Java ?

Pretty much, but you're missing ancillary bits such as libraries, OS-created structures, statically
linked code, dynamically generated code, stacks, and probably other things I'm leaving out.
 Running a process in a modern OS is complicated.

> Sum of PermGen and Heap memory usage smalller then 600,980 KB which
> I see on Task Manager. Can you explain the reason of this difference?

Just because the virtual space is reserved doesn't mean it's actually being used in real memory.
 I don't know which of the memory values you chose to display in Task Manager, but it's probably
real memory usage, which is only that part of the process space that the OS happens to have
loaded at that instant.  Nearly all components of memory usage change over time, both in virtual
space and real, and there is no definitive relationship between the two.  In other words,
the Task Manager number is not terribly useful for tuning a Java execution, but it does provide
some information when you're looking at the system as a whole.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message