@@ -5,21 +5,6 @@
{$inline on}
{$interfaces corba}
-{$ifdef win32}
- { 256 MB stack }
- { under windows the stack can't grow }
- {$MEMORY 256000000}
-{$else win32}
- {$ifdef win64}
- { 512 MB stack }
- {$MEMORY 512000000}
- {$else win64}
- { 1 MB stack }
- {$MEMORY 1000000}
- {$endif win64}
-{$endif win32}
-
{ This reduces the memory requirements a lot }
{$PACKENUM 1}
{$ifdef FPC_HAS_VARSETS}
@@ -143,6 +143,21 @@ program pp;
{$endif i386}
{$endif support_mmx}
+{$ifdef win32}
+ { 256 MB stack }
+ { under windows the stack can't grow }
+ {$MAXSTACKSIZE 256000000}
+{$else win32}
+ {$ifdef win64}
+ { 512 MB stack }
+ {$MAXSTACKSIZE 512000000}
+ {$else win64}
+ { 1 MB stack }
+ {$STACKSIZE 1000000}
+ {$endif win64}
+{$endif win32}
+
uses
{$ifdef cmem}
cmem,