danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.6k forks source link

Uploading many GBs of files gives net :ERR_INSUFFICIENT_RESOURCES #1951

Open stealthrabbi opened 7 years ago

stealthrabbi commented 7 years ago

I've posted the issue here on stack overflow, but I suspect this issue is client side related, so I'm hoping to get some more help here. https://stackoverflow.com/questions/44683139/neterr-insufficient-resources-with-a-large-multie-file-upload

So, a large directory with many files is giving me ERR_INSUFFICIENT_RESOURCES . In addition to uploading the files, I'm also uploading a list of all the paths using "webkitroot" to get the relative paths, so all the relative paths are sent up in a massive array.

I tried doing a large file upload on the test/demo page (600 files or so, ~200MB total), and am getting a different error. https://angular-file-upload.appspot.com/

3angular.js:10071 TypeError: a is not a function
    at Object.* [as get] (angular.js:10185)
    at Scope.$digest (angular.js:12532)
    at Scope.$apply (angular.js:12805)
    at angular.js:1447
    at Object.invoke (angular.js:3966)
    at doBootstrap (angular.js:1445)
    at bootstrap (angular.js:1459)
    at angularInit (angular.js:1368)
    at angular.js:22007
    at HTMLDocument.trigger (angular.js:2573)