[fpc-pascal] Caching a big file on memory

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Sep 11 18:30:53 CEST 2006


On 11 Sep 2006, at 18:09, Eduardo wrote:

> 	I have a little problem, i participe in the 'Large Compression  
> Benchmark' (http://cs.fit.edu/~mmahoney/compression/text.html) and  
> need to cache the whole enwik8 file (100MB) on memory but when i  
> try to  allocate space for it i get a compiler error, saying that  
> maximum is 64MB (67108864). I tried to use $MEMORY  
> 200000000,500000000 (200MB stack and 500MB heap) and the compiler  
> switches, but no success.

How are you trying to allocate the memory, and for which target  
operating system are you compiling?


Jonas



More information about the fpc-pascal mailing list