I am working on a module that uses a lot of object creation (by lot i mean, really lots). So for obvious reasons i have seen Out of Memory exceptions. Now although the objects are being created are too many they go out of scope quickly as well. So i am guessing GC is taking its time to putting the memory back to the heap. My question here is will iDisposable pattern help me is solving my problem?
P.S: any help is appretiated. other patterns, hacks whatever..