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 |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.