-
Notifications
You must be signed in to change notification settings - Fork 16
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
xlsx export buffers in memory #263
Comments
Also, this will be the problem with the cut off comments?! Good catch! |
I talked with Robert, in our infrastructure we should not run into any kind of problems since we have plenty of RAM per request. If you mean with cut off comments, that the file is incomplete or that there are comments missing, I don't think that problem would be related to this issue. |
:( |
Removing a single line: https://github.com/liqd/adhocracy4/blob/master/adhocracy4/exports/views.py#L27 |
@goapunk Uh, we already have an issue for this. :) |
a rather old one ;-) |
but it should be streamed
here is the code https://github.com/liqd/adhocracy4/blob/master/adhocracy4/exports/views.py#L19
It should be ok for a while, since we are hosting our own servers we can have plenty of memory per request and its a feature that is not used a lot at once. So this is also a problem where we wait for it come to us before solving it.
Ha but on the other hand since this should be an open source base component we could fix it because in other setups this would not work (more db entries, different hosting)
The easiert solution is probably to buffer it in a file, send the file, then delete it
The text was updated successfully, but these errors were encountered: