You should get to the reason the memory usage increases then figure out how to resolve the issue.
>So, not all object can be used as is. That is what I was trying to realize in the last few minutes. I have this specific class, that when being used in a loop, after a few days, it increases in the memory. That is the only one doing it. So, I thought I would start by adjusting the code with Using syntax where it applies. I guess the fault situation is not there.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer