How much memory should you be able to allocate?

前端 未结 8 1014
失恋的感觉
失恋的感觉 2020-12-31 17:36

Background: I am writing a C++ program working with large amounts of geodata, and wish to load large chunks to process at a single go. I am constrained to working with an a

8条回答
  •  伪装坚强ぢ
    2020-12-31 18:11

    on windows 32 bit, the normal process can take 2 GB at maximum, but with /3GB switch it can reach to 3 GB (for windows 2003).

    but in your case I think you are allocating contiguous memory, and so the exception occured.

提交回复
热议问题