element-hq / element-hq/element-web

'Export Chat' fails for very long chats (tab crashes)

Open
#25,007 8 comments 1 reaction 0 assignees View on GitHub
A-Export-Chat O-Occasional S-Major T-Defect
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.