Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6793797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:08:36+00:00 2026-05-26T18:08:36+00:00

I am trying to upload a files and small files work, but large ones

  • 0

I am trying to upload a files and small files work, but large ones seem to fail after 2:16. The Max file length I have i expect to take about 20 minutes and 3600 is an hour. Have I set the wrong attribute?

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
    <authorization>
        <deny users="?" />
    </authorization>
  <httpRuntime executionTimeout="3600" maxRequestLength="2097151" requestValidationMode="2.0"/>
</system.web>
</configuration>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:08:37+00:00Added an answer on May 26, 2026 at 6:08 pm

    The usual problem is that the code that received the uploaded file will put the results into a byte array (byte[])

    Those byte arrays are held entirely in memory. Depending on the version of your OS, the web server, amount of memory, etc, usually somewhere around 800MB of memory usage, IIS will recycle the worker process. This is done so that the entire server doesn’t go down because a single request is using excessive amounts of memory.

    Third party file uploaders use a variety of techniques to stream files a chunk at a time and can be used to upload files of muliple GBs without having memory usage go above a handful of kilobytes.

    The streaming technique also has to be maintained for all layers of code that touch the file– i.e. if a component writes it to file, it must stream and chunk, not accumulate the whole thing in a byte[] and write to file. Ditto for when the code is ultimately writing to the file to a BLOB column in the DB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to upload files via FTP using the following script. The file
I'm trying to upload large files (at least 500MB, preferably up to a few
I'm trying to upload several files at once from ONE input : <input type=file
I have a number of rather large binary files (fixed length records, the layout
I'm trying to upload a file onto my personal server. I've written a small
I am trying to upload files using AJAX to ASP.NET. I have this Javascript:
I am trying to upload 1744 small files to the blobstore (total size of
I am trying to upload a file to the webroot/files directory. I also include
I'm trying to upload a big directory (1TB) with thousands of 'small' files (gsutil
I'm trying to upload a small .png file (50x50 pixels) from my iPhone app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.