Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 24309, Using more than 3 GB memory in a 32 bit Delphi program

by Olaf Hess Email: Anonymous


A 32bit Delphi program which shows how to use up to 3.5 GB of RAM by setting the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the EXE header.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 12.0 2138 downloads
Copyright: No significant restrictions


Size: 64,981 bytes
Updated on Thu, 29 Jan 2009 14:14:08 GMT
Originally uploaded on Sun, 21 Jan 2007 04:59:53 GMT
SHA1 Hash: 2B249C183DA9607715EFBCAC1163EA7689138F97
MD5 Hash: 8BAD153F6E89567585A529C36B6BCCA4

    Explore the files in this upload

Description
This program demonstrates how to use up to 2.5 GB of RAM on the 32bit versions of Windows XP Prof. and Server 2003 and up to 3.5 GB of RAM on the 64bit versions of Windows XP, Vista, Server 2003 and 2008. This is accomplished by instructing the Delphi linker to set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag set in the EXE header of the 32bit app.

Furthermore, the program shows how to find out whether a program runs on the 32bit or 64bit version of Windows and how to access the flags in the EXE header using API calls.

See Readme.rtf in the ZIP archive for more information.
Source code updated to work with Delphi 2009.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03