element-hq / element-hq/element-web

App hangs on scroll

Open
#33,647 5 comments 0 reactions 0 assignees View on GitHub
A-Electron A-Memory A-Timeline-Jumpy-Scroll S-Critical T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

I try to scroll a chat, then everything slows down and finally stops.

Ends up with this (in console), probably related:

```
<--- Near heap limit --->
Heap: used=168.0MB limit=4096.0MB
[2570024:0528/150127.103469:ERROR:electron/shell/renderer/oom_stack_trace.cc:125]
<--- JS stacktrace (captured at safe point) --->
#0 getPlaybackWaveform (vector://vector/webapp/bundles/e9b15ee3aecf9852b206/init.js:1:187365)
#1 prepare (vector://vector/webapp/bundles/e9b15ee3aecf9852b206/init.js:1:189763)

<--- Last few GCs --->

[1:0x274004d4000] 76709 ms: Mark-Compact (reduce) 231.2 (236.7) -> 231.2 (233.4) MB, pooled: 0.0 MB, 25.45 / 0.00 ms (average mu = 0.536, current mu = 0.029) last resort; GC in old space requested
[1:0x274004d4000] 76736 ms: Mark-Compact (reduce) 231.2 (233.4) -> 231.2 (232.4) MB, pooled: 0.0 MB, 26.67 / 0.00 ms (average mu = 0.379, current mu = 0.021) last resort; GC in old space requested

[2570024:0528/150127.359134:ERROR:third_party/blink/renderer/bindings/core/v8/v8_initializer.cc:948] V8 javascript OOM (CALL_AND_RETRY_LAST).
```

### Outcome

#### What did you expect?

No app crashes, smooth scrolling

#### What happened instead?

Hangs and crashes

### Operating system

Linux Kubuntu 24.04

### Application version

Element version: 1.12.20 Crypto version: Rust SDK 0.16.0 (65b585f), Vodozemac 0.9.0

### How did you install the app?

https://element.io/en/download#linux (deb)

### Homeserver

custom server, v25.10.0

### Will you send logs?

Trying to upload them now, it's still showing: "Waiting for response from server ..."

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.