Re[2]: [fpc-pascal] Caching a big file on memory

Eduardo nec556 at retena.com
Mon Sep 11 20:31:06 CEST 2006


At 20:02 11/09/2006, you wrote:
> > var
> >      a : array[1..100000000] of byte; //100MB
>
> > Operating system is  WinXP SP2. AthlonXP 2000+ and 1.25 GBRam
>
>Both with 2.1.1 rev. 4609 and 2.0.4rc2:
>{$MODE OBJFPC}
>var a: array[1..100000000] of byte;
>     i: integer;
>begin write('('); for i:=1 to 100000000 do a[i]:=a[100000001-i]; 
>writeln(')'); end.
>
>Works allright. (I use "fpc -vlwni -Xs -Xi -Sg -O3rp4" by default.)
>WinXP-sp2, Celeron 2.4 GHz.

Yes, after make a clean directory and copy there *.pas files, now 
works, don't know what happened.

Sorry for your time, and thanks Jonas and Ppkk 




More information about the fpc-pascal mailing list