Posted on: 8/29/2012 8:19:44 AM | Views : 549

I just want one thing to make clear. When RequestedLengthDiskThreshold is set to 256KB that means. When File (1GB) is posted to server it will only be 256KB in memory on server (rest will be on disk)
Ok but why than is possible to get outofmemory exception
When for example:
byte[] buffer=new byte[HttpPostedFile.ContentLength];
using (BinaryReader br = new BinaryReader(HttpPostedFile.InputStream))    
 {        
Go to the complete details ...