not able to allocate more than 2g memory for 32 bit app running on windows 7 64 after enabling /3g s

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
i am running a 32 bit app on windows 7 64 bit enterprise with 16G RAM.
i set the bcdedit to set up the 3g switch "bcdedit /set IncreaseUserVa 3072"
i wrote small piece of code to continously allocate chunks of memory to go up to 3G.

When i do that i get a bad allocation when the memory is around 1.8G which means i am not able to go beyond 2G with the switch.
Any pointers on anyting i am missing here?
<br/>

View the full article
 
Back
Top