EOutOfMemory = class(EHeapException);
class PASCALIMPLEMENTATION EOutOfMemory : public EHeapException
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.