-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
'Export Chat' fails for very long chats (tab crashes) #25007
Comments
Same issue here, exporting a channel that is falling apart at the seams with ~80k messages. Crashes near the end, its also crashes the render thread in paticular |
@TheFel0x What did you set your attachment limit? I'm currently trying to export 85000 events on element web and has been stuck on "Generating a Zip" for over 4 hours. Wondering if this will ever finish, or if this is a lost cause. Mine is set to maximum attachment size (2000). Using Firefox Stable. I've tried to do the same on Element-Desktop and I get a white screen crash. |
I concur that this could use some improvement. My biggest chat is only 18,000 events, and already I find that sometimes the export hangs, and I have to try a few times to get one that completes successfully. |
@NeonMinnen When I opened this issue I had tried different size limits for attachments as well as not including attachments at all. None of them worked for the chat I was trying to export. I assume it never successfully finished exporting for you either? |
We've discussed this problem internally today and while we don't have a resolution, I wanted to summarize our current thinking. The root cause for triggering OOMs is a combination of these two issues:
Fixing 1. seems feasible but we're not currently sure how to fix 2. in all browsers we currently support. Specifically, Safari doesn't appear to support Options we have considered so far are:
|
I noticed also that for some reason it hangs after fetching events too, on Desktop Element |
Steps to reproduce
Outcome
What did you expect?
The usual export of the chat.
What happened instead?
After around 70-80k processed events the tab crashes on Chrome.
Same behavior on Firefox and element-desktop.
So far I haven't found any way to export large chats.
(This could maybe be avoided if it was possible to download the export in parts or if you were able to choose a time range for the export.)
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
Element version: 1.11.26 Olm version: 3.2.12
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: