Single objects still limited to 2 GB in size in CLR 4.0?

后端 未结 3 1703
时光取名叫无心
时光取名叫无心 2020-11-22 06:16

As I understand it there\'s a 2 GB limit on single instances in .NET. I haven\'t paid a lot of attention to that since I have mainly worked on 32 bit OS so far. On 32 but it

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 06:19

    .NET Framework 4.5 allows creating arrays larger than 2GB on 64 bit platforms. This feature is not on by default, it has to be enabled via config file using the gcAllowVeryLargeObjects element.

    http://msdn.microsoft.com/en-us/library/hh285054(v=vs.110).aspx

提交回复
热议问题