[fpc-pascal] Memory Size

Markus Glugla fpc at xgelb.de
Sat Apr 4 20:47:07 CEST 2009


Hi,

Am Freitag, den 03.04.2009, 12:39 +0200 schrieb Marco van de Voort:
> As Jonas said you first have to define that value in a multitasking
> environment.

Ok, I have allocate the memory at the program start and it runs fine.
It is quick enough yet with memory swaping.

But, if I allocate 2GB memory the program crashs with an access
violation. I have read that fpc can handle arrays up to a size of 2GB,
isn't? How great can be an array?

Thanks, Markus




More information about the fpc-pascal mailing list