Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory issue on IE11 with big files #1368

Closed
hoetz opened this issue May 12, 2016 · 5 comments
Closed

Memory issue on IE11 with big files #1368

hoetz opened this issue May 12, 2016 · 5 comments

Comments

@hoetz
Copy link

hoetz commented May 12, 2016

When I try to upload a 800MB file with the HTML5 uploader I can see in the task manager that it consumes large amounts of ram. At about 75% the download stops with a HTTP error.

When I try it on chrome it works just fine and the ram usage is low. Is this a known issue?

@jayarjo
Copy link
Contributor

jayarjo commented May 12, 2016

Do you use chunking? And are you sure that it's HTML5 runtime?

@hoetz
Copy link
Author

hoetz commented May 12, 2016

Yes I use chunking and I have only enabled the HTML5 component, nothing else.

@jayarjo
Copy link
Contributor

jayarjo commented May 12, 2016

Can you post your config? I will try to repeat it.

@hoetz
Copy link
Author

hoetz commented May 12, 2016

Sure

 $("#Uploader").pluploadQueue({
             runtimes: 'html5,html4',
             url: 'plUploadFileHandler.ashx',
             max_file_size: '<%=this.maxFileSizeMB.Value%>mb',
             chunk_size: '65kb',
             unique_names: false,
             // Resize images on clientside if we can
             // Specify what files to browse for
             multiple_queues: true
         });

         // get uploader instance
         var uploader = $("#Uploader").pluploadQueue();

         uploader.bind("Error", function (upload, error) {
             alert(JSON.parse(error.response).error.message);
         });
         var files_remaining = 0;
         uploader.bind('QueueChanged', function (up, files) {
             files_remaining = uploader.files.length;
         });

         uploader.bind('FileUploaded', function (up, file, res) {
             files_remaining--;
             if (files_remaining == 0) {
                 AllFilesFinished();
             }
         });

@hoetz
Copy link
Author

hoetz commented May 13, 2016

Update: I was able to improve the situation by increasing the chung size to 260kb. The memory usage on IE11 is still way higher than on Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants