I'm using .Net 4.0 and i need to create a lot of images during my program works. As far as i understand images stored in LOH. Is Image.Dispose() method release memory in LOH? I tried to use profiler and i saw a lot of SOH cleans by GC, but memory usage of application still increase. And all memory releases only on if i call
GC.Collect();
GC.WaitForPendingFinalizers();
So it looks like dispose method of image doesn't release LOH memory.