Is there any memory restrictions on an ASP.Net application? HttpHandler?
- by tpower
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?