users@grizzly.java.net

Re: Performance Issue: GrizzlyRequest's are not getting garbage collected?

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Thu, 13 May 2010 16:42:11 +0200

Hi Sendhil,

do you use asynchronous HTTP requests processing? For example Comet?

Thanks.

WBR,
Alexey.

On May 12, 2010, at 7:26 , smurugu wrote:

>
> We use Grizzly 1.9.18 version with Servlet Deployer. Using Servlet
> Deployer,
> we configured JAX WS and serving web services. Our application is
> completely
> stateless, does not store anything in the session. For some reason,
> under
> steady load i see the Grizzly is using lots of byte buffers which is
> associated with GrizzlyRequest instances.
>
> Since the SLA of the request is atmost 10 seconds, we are expecting
> unused
> GrizzlyRequest to be garbage collected but the results are not
> promising.
> For some reason, Garbage collection occurs very slowly;
> GrizzlyRequest's are
> getting collected after few hours
>
> We tried the following
>
> set the maxinactiveinterval to 10 seconds in HttpSession but the
> results are
> still looks the same.
>
> How do i force Grizzly to discard unused GrizzlyRequest instance to
> get
> collected by GC?
>
> Thanks in advance
>
> Sendhil
> --
> View this message in context: http://old.nabble.com/Performance-Issue%3A-GrizzlyRequest%27s-are-not-getting-garbage-collected--tp28532135p28532135.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>