Name
$M Compiler Directive
Syntax
{$MMinStackSize
,MaxStackSize
}
Scope
Project
Description
The
$M
compiler
directive sets the minimum and maximum stack size. The default
minimum size is 16 KB and the default maximum size is 1 MB. For
clarity, use $MinStackSize
and
$MaxStackSize
instead of $M
.
Example
// Default stack sizes in hexadecimal {$M $4000,$100000}
See Also
$MaxStackSize Compiler Directive, $MinStackSize Compiler Directive, $TypeInfo Compiler Directive |
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.