element-hq / element-hq/element-web

Uploading a video in a conversation caused a large amount of memory not to be freed.

Open
#24,237 2 comments 0 reactions 0 assignees View on GitHub
A-File-Upload O-Frequent S-Minor T-Defect X-Needs-Investigation
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Open the process list of the task manager;
2. Go to a conversation and upload a video file (in order to highlight the problem, the file size should be around 800 MB);
3. Keep watching the task manager during the upload process.

### Outcome

#### What did you expect?
n/a

#### What happened instead?
After the file is uploaded, the browser or Element process continues to occupy a large amount of physical memory without releasing it, unless the browser tab is closed or the Element desktop client is exited.
If uploading video files continuously, more physical memory will be occupied.

This problem only occurs when uploading video files, and exists in both browser and desktop client.

### Operating system

x64 Windows 7

### Browser information

Chromium 102.0.5005.167

### URL for webapp

n/a

### Application version

Element Web & Desktop 1.11.17

### Homeserver

Synapse 1.74.0

### 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.