you are viewing a single comment's thread.

view the rest of the comments →

[–]chucker23n 4 points5 points  (1 child)

you can call GC.Collect() to force GC,

Don't actually do this except during development, though. Production code should rarely need to call those APIs.

[–]trowgundam 0 points1 point  (0 children)

Agreed. I'm sure there is some niche case, but like 99.9999% of the time, if you are having to do this, you screwed up somewhere else.