$M or $MEMORY : Memory sizes

This switch can be used to set the heap and stacksize. It’s format is as follows:

 {$M StackSize,HeapSize}
where StackSize and HeapSize should be two integer values, greater than 1024. The first number sets the size of the stack, and the second the size of the heap. (Stack setting is ignored under LINUX, NETBSD and FREEBSD). The two numbers can be set on the command line using the -Ch and -Cs switches.