API:System.Classes.EOutOfResources

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.EOutOfMemorySystem.SysUtils.EHeapExceptionSystem.SysUtils.ExceptionSystem.TObjectEOutOfResources

Delphi

EOutOfResources = class(EOutOfMemory);

C++

class PASCALIMPLEMENTATION EOutOfResources : public System::Sysutils::EOutOfMemory

Properties

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

Description

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

System.Classes.EOutOfResources inherits from System.SysUtils.EOutOfMemory. All content below this line refers to System.SysUtils.EOutOfMemory.

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