Memory Leak from a loop inside thread.

Jun 6 2007 1:50 AM
Hi everybody, I am having memory leak problem from inside the thread. I have create this thread which does a monitoring on certain activity. This thread may run for 3/4 days. I have put a While loop inside the thread which is making the thread to do the same monitoring task again and again. This thread also interacts with the database too. Environment : language : C# Databse : SQLite (its a small database and is open source). I have tried different methods to reduce the memory leak problem, such as: -Disposing all the class when not in used. -called the GC forcefully. -closing unmanaged resources, etc. Please try to help me solve this problem. Thank you, shakti

Answers (2)