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

后端 未结 5 512
广开言路
广开言路 2020-12-20 05:19

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

5条回答
  •  暖寄归人
    2020-12-20 06:04

    Where exactly does the exception originate from?

    AFAIK there's no 400MB-caliber limit to image sizes in ASP.net/.Net. I'm writing a project where some files are much larger. There might be some higher limit I'm not aware of, of course, but it would seem odd and arbitrary.

    Are you running on a 64 bit machine? Could your image file - uncompressed (is it 400MB in jpg?) - test the the 2GB limit of your process's address space?

提交回复
热议问题