LowMemory (function) (OMemory unit)

Language:
Русский
English

 LowMemory (function)     (OMemory unit)


Returns True if a memory allocation has eaten into the safety pool at the end of the heap.

Declaration

 function LowMemory: Boolean;

Target

Windows

Remarks

The LowMemory function returns True if a memory allocation has diminished the safety pool at the end of the heap.

The size of the safety pool is determined by the SafetyPoolSize variable. LowMemory is checked automatically by TApplication.MakeWindow and TApplication.ExecDialog, which should be used for creating window elements. Major consumers of memory (such as large, complex dialog boxes) should check LowMemory for themselves periodically to ensure that they do not exceed the available space.

See Also

 MemAlloc
 TApplication.ValidWindow

Тэги: LowMemory
| G+
Код для вставки: :: :: :: ::
Поделиться: // //