I have a schedule system that generates games into a certain schedule that could be a 1000 games or more. During this alot of processing occurs and object creation. When I run this auto schedule feature my memory footprint for this website goes up significantly. The objects created are plain poco objects and I am using Entity Framework to grab certain data before the scheduling occurs.
My question is how do I make my memory footprint disappear after all this object creation? Do I need to add IDisposable to all these poco classes so they are removed right away?
Update
Found the issue, NLOG was turned on debug and I had a ton of debug statements going on, which in my case kept increasing the memory! So I turned it to debug!