I would like to know if there is any way using C# to free the memory being used. I have a very complex application where OutOfMemoryException occurs frequently. Is there any code or any other possibility to free the used memory, say at the beginning of each iteration of a loop?


Thnx man.. tried all the links given by both of u. gt a fair bit of idea abt mem mgmt :) thanks again