1

Closed

OutOfMemory when uploading large files

description

When uploading large files you can get an OutOfMemory exception. The reason is that the WebRequest (myWebRequest) is configured to allow stream buffering.

Simply set the WebRequest property AllowWriteStreamBuffering to false.
Closed May 27, 2013 at 4:12 AM by alexgh

comments

alexgh wrote May 27, 2013 at 4:12 AM

I have added a property on the ImageUpload class that you can set to enable this behavior.

Thanks,
Alex

wrote May 27, 2013 at 4:12 AM

Resolved with changeset 83828: Allows the user to specify if it should use write stream buffering when uploading images.