I don't think it's related to Deployer, because it's only a wrapper for
deployement, but we will investigate the issue and give us feedback as soon
as possible. It's Holiday here today.
2009/7/1 Abey Tom <appu_abey_tom_at_yahoo.com>
>
> Hi,
>
> I'm doing a perf test using
> grizzly-http-servlet-deployer-1.9.17-SNAPSHOT.jar with the sample
> application grizzly-comet-chat.
> I start the server by
>
> java -jar grizzly-http-servlet-deployer-1.9.17-SNAPSHOT.jar -p 8181 -a
> target/grizzly-comet-chat.war --cometEnabled=true
>
> The server is taking around 1 GB of heap space on 2000-3000 concurrent
> clients which I feel is a little high.Or is it expected to work like this?
> I used Java VisualVM and took a heap dump. I have attached the screen shots
> of the same.
> In the heap dump I can see a byte[] which itself takes around ~17MB per 100
> connections and remains constant.Can we optimize this some how?
>
> Below is the attached screen shot of the heap dumps.
> 1. Startup 0 clients:
> http://www.nabble.com/file/p24290149/heap_dump_idle.jpg heap_dump_idle.jpg
> 2. 100 clients :
> http://www.nabble.com/file/p24290149/heap_dump_100_clients.jpg
> heap_dump_100_clients.jpg
> 3. 200 clients :
> http://www.nabble.com/file/p24290149/heap_dump_200_clients.jpg
> heap_dump_200_clients.jpg
> 4. 300 clients :
> http://www.nabble.com/file/p24290149/heap_dump_300_clients.jpg
> heap_dump_300_clients.jpg
>
> I have attached the screen shots bcos the dump file is large (even zip).
>
> Can we optimize this some how? Kindly let me know.
> Thanks
> Abey Tom
>
>
> --
> View this message in context:
> http://www.nabble.com/grizzly-http-servlet-deployer---High-memory-Consumption-%281---1.2GB-%2C--2000-3000-clients%29-tp24290149p24290149.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
>
>