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 from flash runtime #1039

Closed
lucozhao opened this issue Mar 26, 2014 · 1 comment
Closed

memory issue from flash runtime #1039

lucozhao opened this issue Mar 26, 2014 · 1 comment

Comments

@lucozhao
Copy link

I use flash runtime to upload a 19.5M file from Mac chrome.
Before the plupload, the Google Chrome Helper memory usage was 130M, but after select the file and upload it, the memory was increased to ~450M. Refresh browser still see ~450M memory usage.
I use v2.1.1 release.
My init settings are
var uploader = new window.plupload.Uploader(_.extend({
runtimes:'flash,html5',
browse_button:'',
container:'mx_swf_container',
multipart: false,
max_file_size:'500mb',
url:'/board/upload',
flash_swf_url:'lib/plupload/js/Moxie.swf'
},opts));

After I switch the runtime to html5, the memory issue is gone. But html5 runtime has no progress update from onUploadProgress(). Then I am in a dilemma to use either flash runtime or html5 runtime.

Help wanted. Thanks!

@jayarjo
Copy link
Contributor

jayarjo commented Mar 26, 2014

And what do you have in opts object, is it empty? What you describe is not typical, especially the html5 part having no upload progress. Post the whole chunk of code please.

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