[fpc-pascal] RE: Getmem -> Move -> Freemem

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Apr 26 23:49:50 CEST 2009


On 26 Apr 2009, at 23:15, Guillermo Martínez Jiménez wrote:

> Now it fails trying to copy 998846 bytes. If I put an "IF fSize <
> 900000 THEN..." to prevent move more than 900000 bytes it does work
> and I'm sure it moves up to 206737 bytes. But "size" is LONGINT so
> IIRC it should be able to copy ~2Gib of data.
>
> Does it have a size limit?

No. This probably means that one of your pointers does not point to a  
block with the size you expect.


Jonas


More information about the fpc-pascal mailing list