element-hq / element-hq/element-web
'Export Chat' fails for very long chats (tab crashes)
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Have a chat with close to 100,000 events
2. Click on "Export Chat" (HTML, From the beginning, no attachments)
3. Wait for Element to fetch all events from the server
4. Wait for Element to process the events
### 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
Contributor guide
Assessment
This issue has not been assessed yet.