RAD Studio (Common)
ContentsIndex
PreviousUpNext
Memory Management

This section describes memory management issues related to programming in Delphi on Win32, and on .NET.

Name 
Description 
The following material describes how memory management on Win32 is handled, and briefly describes memory issues of variables. 
The following topics describe the internal formats of Delphi data types. 
The .NET Common Language Runtime is a garbage-collected environment. This means the programmer is freed (for the most part) from worrying about memory allocation and deallocation. Broadly speaking, after you allocate memory, the CLR determines when it is safe to free that memory. "Safe to free" means that no more references to that memory exist.
This topic covers the following memory management issues:
  • Creating and destroying objects
  • Unit initialization and finalization sections
  • Unit initialization and finalization in assemblies and packages
 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!