tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Huge tomcat memory footprint
Date Thu, 04 Nov 2004 17:58:50 GMT

Hi,
BTW, have you moved from JDK 1.4.1 to 1.4.2 yet, and if so has that made
a difference?  IIRC your OP said you're using JDK 1.4.1..

Yoav Shapira http://www.yoavshapira.com
 

>-----Original Message-----
>From: Anand Narasimhan [mailto:anandn@cisco.com]
>Sent: Thursday, November 04, 2004 12:54 PM
>To: 'Tomcat Users List'
>Subject: RE: Huge tomcat memory footprint
>
>Hi,
>
>> >80MB
>> >and heap used was 57MB (reported by optimizeit). But the
>> memory sizes
>> >reported by solairs pmap command is
>> >
>> >Size          RSS            Shared          Private
>> >1173.45 MB    608.125 MB     15.125 MB       593 MB
>>
>> There's a mismatch here.  There's no way the OS-level
>> overhead is hundreds of MBs for an 80-MB heap.  Are you sure
>> the pmap command doesn't multiply by the number of threads or
>> something like that (similar to what the Linux top command does)?
>>
>
>I am not sure how pmap works. But the numbers are consitent with what
top
>command reports.
>
>>
>> >3. I read somewhere that if you use reflection,  the reflective data
>> >structures (whatever that means) also contribute to the memory
>> footprint.
>> >It
>> >sounded as though these are not part of the heap. So if we
>> are creating
>> >instances of Method, Constructor, etc, are they not allocated in the
>> heap?
>> >We are using reflection heavily.
>>
>> Where's "somewhere" ? ;)  That's mostly old information.  The
>> JVM is very efficient at handling reflection and properly
>> storing Method references.
>
>I think I read about this in the Java performance tuning book from Sun
>press
>or O'reilly.
>
>
>Anand
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message