I have an ASP.Net MVC application that allows users to upload images. When I try to upload a really large file (400MB) I get an error.
I assumed that my image proces
There can be memory limits configured in either the web.config or machine.config, or both.
In web.config the section is:
In machine.config the section can also be the httpRunTime section, similar to:
The aspnet process can also be limited to a percentage of the total memory using the processModel section, see:
http://msdn.microsoft.com/en-us/library/7w2sway1.aspx
I've encountered similiar problems to the one you described cause by those settings.
In particular the ProcessModel memorylimit attribute.