TIdPOP3Server eating resources

Giganews Newsgroups
Subject: TIdPOP3Server eating resources
Posted by:  Pierre Roux (pier…@infofx.co.za)
Date: Wed, 14 Apr 2004

I'm using the TIdPOP3Server with the buildt in command handler.

My problem is as follows:
I check the memory usage in Windows Task Manager - with each connection from
a client, the memory usage grows, but never falls back again, even after
about 30 minutes.  This indicates that resources somewhere isn't being
freed.

The Questions:
Does the POP3 PeerThread disconnect and free it's resources?
If not, where do I do it?  I tried in the command handler's event, but no
luck.

I'm not using any Thread managers (except the internal one for
TIdPOPServer), as it's only given me headaches with no luck.

Replies