memory - Windows 7 64, how do I use more than 2 GB in C++ -
I'm using Sublime Text 2 to write / compile / run C ++ code though once program ~ 2 The GB uses memory, it resigns. I have more than enough memory
two options:
- < P> You need 64-bit compiler, you can install one using. Note that you can also install a 32-bit compiler with the same installer.
-
For 32-bit applications: Set something in the executable file that it prompts for the Windows 4 GB memory to do so,
-Wl, - Add big-address-awareness to the linker command. It will give you 4 GB on 32-bit Windows 3 GB and 64-bit Windows.
Comments
Post a Comment