in reply to Memory leaks

I have a script that opens and closes a telnet session to three different hosts every five minutes and logs the output. I've run this script on my NT workstation for days on end without problems. Could you please post your code or maybe the relevant snippet so we could further help?