users@grizzly.java.net

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

From: smurugu <smurugu_at_gmail.com>
Date: Tue, 11 May 2010 22:26:35 -0700 (PDT)

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.