Fastream Technologies wrote:
> Hello,
> Our multi-threaded web server leaks 16-32KB per socket now. I hacked a lot
> to make async ICS a MT web server but there has been many issues as ICS
> has no MT web server example.

But there are various multi-threaded, TWSocketServer derived classes plus
demos in latest Beta V5. I have improved, and stress tested the 
TWSocketThrdServer quite hard. As far as I can say it has no obvious memory
leak. Most likely the leak is in your code.

You say that you post a message to the worker thread to let it ThreadAttach.
What do you do until the worker thread has attached?? You cannot just post 
a message, you have to wait until the workerthread has allocated the window.

Arno Garrels [TeamICS]

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to