users@grizzly.java.net

Memory Usage in Grizzly on Glassfish 3.1

From: Eric Luong <eluong_at_ualberta.ca>
Date: Fri, 22 Jun 2012 20:48:10 -0600

Hello,

I've been testing Grizzly in Glassfish 3.1 by simulating a load of
thousands of clients using long polling. I found what appears to be a
bottleneck. As more clients are added, the memory usage of the server
increases. However, after a certain point (2000 clients in my case, but I
expect it would depend on hardware) the usage seems to taper off and
plateau.

I have been trying to figure out why the memory usage plateaus. Can anyone
offer some insights, or suggest a way to investigate further?

Thank-you!

Eric