Large array support in ASP.NET

落爺英雄遲暮 提交于 2019-12-04 14:26:17

Acording to MSDN you can setup it at web.config as:

<configuration>
  <runtime>
    <gcAllowVeryLargeObjects enabled="true" />
  </runtime>
</configuration>

but its says:

true: Arrays greater than 2 GB in total size are enabled on 64-bit platforms.

so its not work on 32bit, meaning that you also need to run your pool on 64-bit.

ref: http://msdn.microsoft.com/en-us/library/hh285054.aspx

llama

For me setting gcAllowVeryLargeObjects in the application web.config only worked when put in machine.config

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!