Skip to main content

Understanding Garbage Collection

  • Chapter
Expert .NET 1.1 Programming
  • 314 Accesses

Abstract

Memory management, and in particular cleaning up any resources that are no longer needed by an application, is an important service provided by the .NET Framework. The aim of this chapter is to make sure you understand at a fairly detailed level how the main .NET resource cleanup system, the garbage collector, works and how best to use the garbage collection services in your code. I’ll also explain the best methods for implementing objects that can be cleared up by the garbage collector.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Simon Robinson

About this chapter

Cite this chapter

Robinson, S. (2004). Understanding Garbage Collection. In: Expert .NET 1.1 Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0726-9_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0726-9_5

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-222-9

  • Online ISBN: 978-1-4302-0726-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics