Open
Description
openedon May 28, 2024
Context
- Creating an app where end users can upload files >1GB with
dcc.Upload
. - The app code is the same as the first sample app of the doc page: https://dash.plotly.com/dash-core-components/upload
max_size
is set to-1
Issues
- If I run the app with gunicorn or in my local env, some time after I upload the file the tab freezes or I get an internal server error (NOT a timeout because
dcc.Upload
has some kind of async functionality). > This is similar to what this issue describes: error with dcc.Upload() with large files #1728
Additional context
- I've tried
dash-uploader
(link) and it works okay but I’m concerned about (1) privacy (all files are accessible by all users by default, as opposed to session-specific storage) and (2) memory (how does saving many big files affect the app memory/performance) dash-uploader
is not an official component and it’s not maintained, which raises some concerns regarding production environment.
Request
dcc.Upload
being able to handle big files (500MB, >1GB, etc).- If the file is not been processed correctly (
list_of_contents
is empty) show a more helpful error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment