asp.net网站,报out of memory错误Exception of type 'System.OutOfMemoryException'的解决方案
如果是asp.net网站,不管是mvc还是webapi.添加以下配置
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcAllowVeryLargeObjects enabled="true" />
</runtime>
</configuration>