Is there any memory restrictions on an ASP.Net application? HttpHandler?

Posted by tpower on Stack Overflow See other posts from Stack Overflow or by tpower
Published on 2009-02-08T15:23:36Z Indexed on 2010/03/19 19:11 UTC
Read the original article Hit count: 171

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 processing code (home brew) was very inefficient, so I decided I would try using a third party library to handle the image processing parts.

Because I'm using TDD, I wanted to first write a test that fails. But when I test the controller action with the same large file it is able to do all the image processing without any trouble.

The error I get is "Out of memory".

I'm sure my code is probably using a lot more memory than it needs to but I just want to know why my test passes.

The other difference is that I'm using SWFUpload which is not used with the test. Could this be the cause?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about swfupload