Memory Management Overview

Provides functionality concerned with how memory is allocated for and within programs.

Purpose

Fundamental to Symbian platform programs is a concern that memory, as a limited resource, is carefully handled, particularly in the event of error conditions. For this reason, exception handling and memory management are closely tied together in the Cleanup Support API.

Architectural relationships

The Uikon framework uses these APIs to provide to each GUI program the basic infrastructure for well-behaved memory handling. In particular, each GUI program has support for cleaning up memory in exception conditions, and, in debug builds, detection of memory leaks.

Description

Functionality is provided by a number of APIs. Use them as follows:

Cleanup Support Overview

Provides idioms to handle program exceptions, and to clean up memory when exceptions occur.

Memory Allocation Overview

Provides low-level functionality by which a Symbian platform process can access and manipulate memory areas.