﻿# 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\.

## References

1. MSDN Library\. [/LARGEADDRESSAWARE \(Handle Large Addresses\)](https://www.microsoft.com/en-us/download/details.aspx?id=55984)\.
1. Discussion at Stackoverflow\.com\. "[Why 2 GB memory limit when running in 64 bit Windows ?](https://stackoverflow.com/questions/2740308/why-2-gb-memory-limit-when-running-in-64-bit-windows)"
1. Knowledge Base\. [How much memory can an application access in Win32 and Win64?](https://pvs-studio.com/en/blog/posts/k0036/)