Unable to upload a file larger than 1.2GB (1,214,843 KB as reported by Explorer)

Needs root cause Issue #15099599 • Assigned to Brandon M.

Details

Author
Abraham L.
Created
Dec 14, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
41.16299
Needs root cause
Sign in to suggest a root cause.
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

When I attempt to upload a file 1.2GB or larger, Win 10 Edge tab crashes. After it crashes, Edge attempts to recover the tab using the same url. But the upload fails.

I monitored the memory usage (from task manager) during the process. It appears that the upload process ran out of memory. My machine has 16GB of physical memory.

I repeated the same process with the same file in FF, Chrome, and IE11. The file is uploaded successfully.

It also appears to be the same issue reported here: https://social.msdn.microsoft.com/Forums/en-US/efde1d4c-6bdf-42b9-ac53-e3168032cab2/big-edge-memory-leak-on-file-uploads?forum=iewebdevelopment

I am running Win 10, Edge 41.16299.15.0.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. The similar issue you linked has the same results in all browsers we tested. Please provide us with the webpage where you conduct your upload, so we can best repro this problem.

    Best Wishes,
    The MS Edge Team

  • I have just attached a zip file containing a html, js, and css files. They are adopted from:

    https://www.script-tutorials.com/pure-html5-file-upload/

    Modify the js file to name the target (e.g. “tmp/afile”) accordingly. Run a http server to serve the index.html file, . Then try browse/select a file approx 2GB to 4GB big. You would see that Chrome and FF will be able to upload the file successfully. Edge 40 and 41 would crash and reload the page and the upload would fail.

  • Microsoft Edge Team

    Changed Assigned To to “travil”

    Changed Assigned To from “travil” to “Brandon M.”

    Changed Status to “Needs root cause”

  • Any status update on this defect since 12/22/2017? Can you provide an Estimate fix date and version?

  • To Microsoft Edge Team, please provide update information about this issue. I have already provided sample code on how to reproduce the problem 2 months ago. Is it going to be fixed at all?

  • Hello, I’m getting exactly the same bug, when I upload a file with a very big size using EDGE, it doesn’t respond, when the size is not very big, EDGE does not responds for seconds and after that, it redirect to the same URL.

    Could you try to reproduce this bug and provide a possible solution?

  • I’ve encountered this issue in the current version of Edge (42.17134.1.0). I can see that when uploading a 1.2G+ file, the memory use of Edge (from the task manager) quickly increases from 400 - 700MB to 4.5 - 5.5G before the page crashes. The spike in memory is reliably larger than the size of the file being uploaded. Larger files seem to create larger spikes as well. I can also verify that this issue is NOT occurring in Edge version 40.15063.674.0

    Here is the Windows Error Event data that is produced when the issue occurs:

    Error   7/9/2018 9:19:55 AM Application Error   1000    (100)
    
    Log Name:      Application
    Source:        Application Error
    Date:          7/9/2018 9:19:55 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MSEDGEWIN10
    Description:
    Faulting application name: MicrosoftEdgeCP.exe, version: 11.0.17134.1, time stamp: 0x5acd8993
    Faulting module name: EdgeContent.dll, version: 11.0.17134.1, time stamp: 0x66899988
    Exception code: 0xc0000409
    Fault offset: 0x00000000000acf0a
    Faulting process id: 0x16d0
    Faulting application start time: 0x01d414ab20cb108a
    Faulting application path: C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe
    Faulting module path: C:\Windows\SYSTEM32\EdgeContent.dll
    Report Id: 901780be-8139-4919-a44a-dadc65edfc68
    Faulting package full name: Microsoft.MicrosoftEdge_42.17134.1.0_neutral__8wekyb3d8bbwe
    Faulting package-relative application ID: ContentProcess
    Event Xml:
    
    

    Hopefully the log will be sufficient, but if not I’ve created a simple file uploader CodePen that you can use to test the issue. It’s using a simple jQuery file uploader library. If you wish to use it, you will need to update the upload URL on line 7 of the JavaScript to a service that allows large uploads - I couldn’t find a service that would allow unrestricted upload sizes for testing.

    https://codepen.io/aamaclaren/pen/eKwYKq

You need to sign in to your Microsoft account to add a comment.

Sign in