Name
IsMemoryManagerSet Function
Syntax
function IsMemoryManagerSet: Boolean;
Description
The IsMemoryManagerSet function returns True if
the memory manager is different from Delphi’s default memory
manager. You can set a different memory manager by calling
SetMemoryManager.
IsMemoryManagerSet is a real
function.
Tips and Tricks
If you are implementing a new memory manager, presumably you know
whether your code calls SetMemoryManager. The
utility of IsMemoryManagerSet is to know whether
functions such as GetHeapStatus are meaningful. If
IsMemoryManagerSet returns True, you should assume
that GetHeapStatus will not return any useful
information. Consult the documentation for the new memory manager to
learn what function, if any, replaces
GetHeapStatus.
See Also
| GetHeapStatus Function, GetMemoryManager Procedure, SetMemoryManager Procedure |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access