Force garbage collection of arrays, C#
This is not an exact answer to the original question, “how to force GC’, yet, I think it will help you to reexamine your issue. After seeing your comment, Putting the GC.Collect(); does seem to help, altought it still does not solve the problem completely – for some reason the program still crashes when about … Read more