[fpc-pascal] Maximum of memory which can be used by single program in 32 bit Windows

Sven Barth pascaldragon at googlemail.com
Thu May 19 11:21:36 CEST 2016


Am 19.05.2016 10:57 schrieb "Jonas Maebe" <jonas.maebe at elis.ugent.be>:
>> it should be 2GB on 32bit and 4GB on 64bit Windows with
>> *IMAGE_FILE_LARGE_ADDRESS_AWARE*
>
>
> There is a difference between the total amount of memory you can
allocate, and the maximum size of a single block of memory that you can
allocate. The latter is much smaller than the former, because the address
space gets divided in multiple parts due to where the program gets loaded,
where dll's get loaded and where the kernel gets mapped.

The kernel mapping *is* what gets influenced by that switch (among others).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160519/82e6e150/attachment.html>


More information about the fpc-pascal mailing list