[fpc-pascal] more memory for local var in function
Anton Tichawa
anton.tichawa at chello.at
Tue Sep 6 01:09:57 CEST 2005
Jose Pascual wrote:
>Hi,
>
>I have a program that don't work if I declare a local array of 15000
>bytes, but it works if the array is
>only for 500 bytes,
>
>Where is the problem? frame, heap, stack?
>how can I increase the memory for local vars in procedure/functions?
>
>tia
>best regards
>
>_______________________________________________
>fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
fpc command line options (my version is still 1.06)
-Csxxx Set stack size to xxx.
Try e. g. -Cs100000. This applies to an array which is local to a
procedure or function. If this doesn't help, please post more info
(error message, OS, source code).
Anton.
More information about the fpc-pascal
mailing list