32-bit Applications Memory Limit

32-bit Applications Memory Limit

Disabling the 2 GB Memory Limit for 32 bit Applications

By default there is a memory limit usage of 2 GB for 32-bit applications running in 64 bit Windows environments.

So to enable your application either SA Servers or ISAPI applications to overcome that limit, you must open your Applications DPR project file and add this Compiler Directive.

{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}

Save it and recompile you application.