1

To my knowledge, every process in Windows 32 bit only up to 2GB RAM. In Windows 64 bit longer, that number is much larger (about 8TB of RAM)

I write an application in C ++ that allows to use more than 2 GB of RAM (through dynamic allocation). but when run it only used up to 2GB RAM though I run Windows 64-bit machine. Why is that?

Leo
  • 11
  • 1
  • 2
    Just running in 64-bit OS won't automatically turn the app into a 64-bit. It must be explicitly compiled as 64-bit app. – Martheen Jul 30 '15 at 04:22
  • Thank you. i understand only 64-bit applications can use more than 2GB of RAM (not all applications on Windows 64-bit) and results of my C ++ compiler is a 32-bit applications – Leo Jul 30 '15 at 05:56
  • 1
    possible duplicate of [32-bit vs. 64-bit systems](http://superuser.com/questions/56540/32-bit-vs-64-bit-systems) – galacticninja Aug 20 '15 at 11:17

0 Answers0