tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Memory Leak with Comet
Date Tue, 24 Apr 2007 21:46:58 GMT
Reich, Matthias wrote:
> I did a fresh build this morning from the SVN trunk, and I see the memory leak with both
NIO and APR connector.
>   
Why don't you enable -XX:+HeapDumpOnOutOfMemoryError and send us a link 
where we can download the HPROF files that get generated.
Also send us your config as well when you get the error
Filip
> For each browser I run, I have at most 3 active connections at a time.
> I think, acually there are at most 2 active connections per browser, because by default
both IE and FireFox don't open more than 2 connections to a single server.
>
> Thus, if I use 4 browser instances for my test, I have at most 12 (or 8) active connections.
>
> Matthias
>
> -----Original Message-----
> From: Rémy Maucherat [mailto:remy.maucherat@gmail.com] 
> Sent: Tuesday, April 24, 2007 4:58 PM
> To: Tomcat Users List
> Subject: Re: Memory Leak with Comet
>
> On 4/24/07, Reich, Matthias <matthias.reich@siemens.com> wrote:
>   
>> If memory allocation of Tomcat continues until I see messages like
>>
>> org.apache.coyote.http11.Http11NioProcessor: Error processing request
>> java.lang.OutOfMemoryError: Java heap space
>>     
>
> There are leaks that have been fixed in the NIO connector, which exist
> in 6.0.10. Regardless of the amount of waiting events in your queue,
> each active Comet connection will use resources.
>
> There is also at least one relatively recent thread talking about Comet issues.
>
> Rémy
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message