SysUtils.EOutOfMemory

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From SysUtils.pas

EOutOfMemory = class(EHeapException)


Unit: SysUtils

Type: class

Inherited Class Members: SysUtils.EOutOfMemory Members

C++ Information

From SysUtils.hpp

EOutOfMemory = class(EHeapException)


Unit: SysUtils

Type: class

Inherited Class Members: SysUtils.EOutOfMemory Members

Class Constructors & Destructors: SysUtils.EOutOfMemory Constructors

Description

EOutOfMemory is the exception class for unsuccessful attempts to allocate memory.


EOutOfMemory occurs when an application attempts to allocate dynamic memory, but there is not enough free memory in the system to meet the request.

Memory for the EOutOfMemory exception is pre-allocated whenever an application starts and remains allocated as long as the application is running.

Note:  Never raise EOutOfMemory directly. Instead, call the global OutOfMemoryError procedure.

See Also