If the assembly is compiled for AnyCPU or x86 then the LARGEADDRESSAWARE
flag will not be set. You would have to set it manually to utilize more
than 2GB on 32bit Windows.
On 64bit Windows a program compiled with AnyCPU will run in a 64bit process,
and won't have this memory limitation.