Search code examples
windowsvisual-studio32-bitvirtual-memory

2gb memory laptop and 32bit application development


I want to develop 32-bit windows application in 2 GB laptop.

In this case, is there a way i can use other memories such as secondary memory or memory cards as my virtual memory which will be act as main memory?

IDE for development is Visual studio.

Thanks in advance.


Solution

  • Your app doesn't use the memory directly. It uses virtual memory. On a 32-bit Windows your app will have an address space of 2 GB by default and 3 GB if you configure it to be large address aware.

    Windows will map the memory of your app to actual memory pages as needed.