Hi,

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?

Thanks

Recommended Answers

All 4 Replies

Thnx a lot. Will go thru the links

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.