Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: memory leak in tomcat 5.0.16 ?

Ralph Einfeldt

2004-01-22

Replies:

The heap size has nothing to do with the memory size that
is seen by the system.

You have to look at least at the total memory.
(That is used + free memory)

To that you have to add
- thread stacks (At least some vm's don't allocate them on the heap)
- static memory (Like the jvm itself, static strings, classes, jars, ...)
- some os memory that is used by the vm to manage it self
- ...

I wouldn't expect that the diff between total memory and system memory
is more than a few megs. (Far less than 30MB)

> -----Original Message-----
> From: Allistair Crossley [mailto:Allistair.Crossley@(protected)]
> Sent: Thursday, January 22, 2004 4:06 PM
> To: Tomcat Users List
> Subject: RE: memory leak in tomcat 5.0.16 ?
>
> What puzzles me is the Windows task manager process memory as
> this never ever matches anywhere near the JProfiler reported
> memory. I know there may be some system overheads but the
> 30MB heap that JProfiler reveals is actually 90MB in Windows
> task manager.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.