I have developed an console application (Visual Studio 2005 c#), that gets the rssfeeds urls from database, downloads the Rss and Extracts the information and save to database. This application is designed to run in an infinite loop [while (true) ] so that it runs round the clock. Now the problem is after running for some time, task manager shows the memory usage, handles, user objects increases continuously. CPU usage is betweeb 25-50% (by the application). I have implemented IDisposable interface for a class and tested. memory usage is constant but, cpu usage remains the same. Due to continuous increase in memory usage and handles, I get "unable to create windows handle" message.
Kindly help me to tackle this issue and suggest tips on writing classes.
Help also required to handle COM DLLs like MSHTML and their disposing.
Thanks
Start Free Trial