Memory Leaks

Sep 25, 2009 at 8:04 AM

Hello! Some one noticed memory leaks in Koolwired library? My program consume approximately 800 mb when processes mailbox of 2000 messages with attachments. ????

Sep 28, 2009 at 9:36 AM
Edited Sep 28, 2009 at 9:37 AM

I found solution!

Method command.FetchBodyPart(fullMsg, partNo); consume so much memory, so after reading current mail don't forget to do mailbox.Messages[mailNumber-1] = null;