EntityFramwork System.OutOfMemoryException on 100MB upload
- by Win
Upload works fine for 62MB file. However, it throws exception if it is 100MB.
I found few questions in stackoverflow, but none is very specific about datatype.
Appreciate your help!
ASP.Net 4, IIS7, EntityFramework 4.1, Visual Studio 2010 SP1, SQL 2008
DataType is varbinary(max)
applicationHost.config
<section name="requestFiltering" overrideModeDefault="Allow" />
web.config
<httpRuntime maxRequestLength="1148576" executionTimeout="3600"/>
<security >
<requestFiltering>
<requestLimits maxAllowedContentLength="112400000" />
</requestFiltering>
</security>