Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
forcing the GC collection after each operation - this can be done using GC.Collect(), but it is not recommended to do so ...unless you have good reason. Here you have good reason. The oth...
Answer
#1: Initial revision
> * **forcing the GC collection after each operation** - this can be done using `GC.Collect()`, but it is not recommended to do so ...unless you have good reason. Here you have good reason. The other, even more, extreme options would be things like doing the processing in a new AppDomain or spawning a new process to do the processing.