users@grizzly.java.net

Re: Need help on ARP usage

From: Vrignaud Etienne <evrignaud_at_axway.com>
Date: Wed, 3 Dec 2008 14:15:09 -0800 (PST)

Hello,

Here are some additional details about the troubles that I have with the
test case that I submited.
When my server takes time (0 to 4 secondes) between each 30 responses, the
memory usage grows abnormally. And the memory is never returned back. In
that case the complete execution of the 500 requests done by the ArpClient
class put the server part to 99 Mo of memory usage (while the memory usage
when the server answers without taking time is about 31 Mo).

I considered and tried your idea of calling AsyncExecutor.postExecute() that
release back the ARP resource. In my code I use already
asyncHandler.handle(asyncTask); that at the end calls postExecute(). So
adding a call to the postExecute() method only issued a
NullPointerException.
So nothing goes better.

I think perhaps it will be good to check whether or not its a grizzly issue
before publishing the 1.9.0 version of grizzly.

Thanks for your help,
Regards,
Etienne VRIGNAUD

-- 
View this message in context: http://www.nabble.com/Need-help-on-ARP-usage-tp20789925p20822864.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.