title: Allocating array of 2 billion ints with msvc amd64 and QtCreator 3.0.1 (Qt 5.2.1)
body: <p>I have have a fresh install of microsoft visual studio expess C++ 2012 and Qt Creator 5.2.1 for msvc2012_64bit.</p>
  
  <p>To test if my program is compiled as 64bit I print the size of a pointer and it yields 8 bytes.
  So I assume it compiles in 64bit. </p>
  
  <p>But when I try to allocate a block of 2 billion ints, I get a bad alloc exception. 
  Is there an option I need to add to allow allocation of blocks bigger than 4GB ? </p>
  
  <p>Note: I running my program on Windows 7 Home premium edition. Could there be an allocation limit ? 
  I've seen there is a ram limit to 8GB. </p>
  
  <p><strong>Edit:</strong> 
  Allocating in sequence blocks of 500 000 000 bytes stops after 14 allocations with bad allocation. This is up to 7GiB allocation in total. My physical memory is 8GB. No limitation finally. This proves that there is indeed a fragmentation problem. Increasing the ram in my PC should allow me to push the limit further. 
  BTW, the maximum usable memory size for Windows 7 Home Premium is only 16GB. It's 192GB for professional or enterprise editions. </p>