Click here to Skip to main content
Click here to Skip to main content
Alternatives (1)

Tagged as

Go to top

Premature .NET garbage collection, or "Dude, where's my FooBar?"

, 3 Sep 2011
A surprising and potentially destructive 'feature' of the .NET garbage collector

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

29 Aug 2011
supercat9
It would be very nice if one could ask the .NET compilers to automatically add GC.KeepAlive(this) to the end of a class' methods; IMHO, that should have been a default behavior for classes that override Finalize. Unfortunately, since that isn't possible, one should probably, as a matter of...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Phil Atkin
Founder Pixel Analytics Ltd.
United Kingdom United Kingdom
My expertise is concentrated on image processing and analysis; I've been doing it most of my working life. Now I offer consultancy through my own company, as well as developing software products.

| | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 3 Sep 2011
Article Copyright 2011 by Phil Atkin
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid