We have constantly growing memory usage of our server application deployed on Linux (Ubuntu server). Each time a client is accessing the server, memory is growing and never drops, even if the client is closed.
The easiest way to reproduce is to open in a browser the server access link and close the tab (ex.192.168.0.50:8099/bin).
By monitoring the connections with lsof, you can see that TCP connection is created and dropped after closing client.
We have tried to test the SuperHTTP server, the result is the same.
In our client application we are using Grijjy HTTP channel.
This is the default class factory for new services and it implements a minimal activation model by simply creating a new instance for each incoming request and destroying the instance after the request has completed.
I’ve created a simple console app with a test service, where you can reproduce the memory leak. After stating the server in linux access throw a browser port 53\bin, at the first access memory increases with multiple MB, after refreshing page increases with KB-s, if you keep refreshing the page, it’s increasing with 2 bytes. rj63f4MRt_testProject.zip (3.3 MB)