Is it possible to use more than 2 Gbytes of memory in a 32-bit program launched in the 64-bit Windows?

Yes, it is. To do that, you should tell the linker that the application can process addresses for more than 2 Gbytes - that is compile the application with the /LARGEADDRESSAWARE parameter. Now the virtual address space for one 32-bit processor will be theoretically limited by 4 Gbytes of physical memory (in practice, the application can access about 3.5 Gbytes). The /LARGEADDRESSAWARE parameter is disabled by default.


Use PVS-Studio to search for bugs in C, C++, C# and Java code

We offer you to check your project code with PVS-Studio. Just one bug found in the project will show you the benefits of the static code analysis methodology better than a dozen of the articles.

goto PVS-Studio;

Bugs Found

Checked Projects
Collected Errors
12 668