System.SysUtils.EOutOfMemory

From Appmethod Libraries
Jump to: navigation, search

System.SysUtils.EHeapExceptionSystem.SysUtils.ExceptionSystem.TObjectEOutOfMemory

Object Pascal

EOutOfMemory = class(EHeapException);

C++

class PASCALIMPLEMENTATION EOutOfMemory : public EHeapException

Properties

Type Visibility Source Unit Parent
class public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

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