Rewaz said:
Yes, but Windows (OS) takes 2GB of RAM, so only 2GB are free for us to use (AFAIK).
True, but this is still Virtual Memory from everything running in the background. You should take a read about Windows swpafile feature ?
Rewaz said:
So something like the vector, resize it, and use data() to get the memory?
For example. We're using our own Array type as base for every data container in our engine instead of STL stuff. You may also take a look at the EA STL library