I am a .NET newbie and am having a lot of memory problems. Im primarily working with ADODB.NET and some other .NET controls for FTPing. The utility is on a time to query a database every 10 minutes or so and executes some FTP functions based on query results. The problem is after several hours of running memory on the box is largely consumed and Windows starts reporting paging problems and resizing.
I've cleaned up all of my objects the best I can find. Disposing of the disposable ones and setting all other obeject and varibles to nothing after each process execution. I've been doing some research on the GC.Collect method and have sprinkled it in some of my loops with no luck.
I have noticed that minimizing the console app cleans my memory utilization significanlty. Just for grins, I have my time maximizing my form when it begins its processing and minimizing upon completion. This seems to work for a while in cleaning up the memory problems but I am CERTAIN this isn't the best solution.
Let me know ANYTHING I could do to manage memory a bit better.