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@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.



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to