There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Memory leaks 32-48kB, when client logout from Websocket chat application
At first glance it's a cool framework and I tried chat application from examples. I launched Chat Websocket Server and Chat WebcCient written using MFC framework. I successfully connected to server. After a while I pressed button "logout". Connection
was dropped, but In Windows Task Manger I noticed the following thing:
when I connected server Chat WebSocket server allocated additional 32kB memory, but when I press button logout and client successfully disconnected, this memory wasn't cleared.
It means, that each new connection allocate 32kB memory (sometimes 48kB) and doesn't clear it. It's very strange behavior, cause after 100 connections Chat Websocket Server memory consumption increased up-to ~3MB.
How can I clear this memory? is there a possibility to force server for cleaning unused memory?
If I have some misunderstanding, please explain me.