How much memory should you be able to allocate?

前端 未结 8 1064
失恋的感觉
失恋的感觉 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:21

    You should be able to allocate a total of about 2GB per process. This article (PDF) explains the details. However, you probably won't be able to get a single, contiguous block that is even close to that large.

提交回复
热议问题