desktop: Severe memory leak
Captchas
- I have read the instructions.
- I have searched existing issues and avoided creating duplicates.
- I am not filing an enhancement request.
What happened?
Extreme levels of memory consumption, in my Arch crash logs it can be seen that electron used “too much memory” and has destroyed many of the other processes. CNR on Zen pre-latest twilight build.
Reproducible?
- I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
AUR: zen-twilight-bin-25910c5-1. Unable to open the actual app. Latest build since the last 3 hours though.
What platform are you seeing the problem on?
Other
Relevant log output if applicable
Hyprland 0.46.0 built from branch main at commit 8dd2cd41fb4c5a5eb6886cc190419b36084cabfa (core: move to inotify for monitoring the config files).
Date: Sun Jan 19 15:11:12 2025
Tag: v0.46.0-134-g8dd2cd41, commits: 5689
built against:
aquamarine 0.7.1
hyprlang 0.6.0
hyprutils 0.3.3
hyprcursor 0.1.11
hyprgraphics 0.1.1
no flags were set
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 17 (1 by maintainers)
Does anyone found a workaround? I just can’t use the browser if this continues.
@Delamcode I’m also on Pop!Os and experienced one full crash when watching a long video. After some time playing, videos begin to stutter and if I dont pause it, it will lead to my pc completely freezing. RAM usage seems to be the problem, with Zen taking up to 20GB of my 32 GB total. A funny thing I noticed, when screenshotting this, RAM usage instantly dropped afterwards, then beginning to creep up again when continuing to play. System info, zen processes: see image:
edit:
edit2: disabling Untrap for Youtube and updating to 1.10.x made things a bit better, but still getting freezes, luckily no more crashing after
Disabling memory cache seems to make the condition (a bit) better. I think memory caching has some leak(s).
Hello, After 4 or 5 hours using Zen for YouTube the browser slowed to a crawl. Before killing it, it was using almost 15Gbs of RAM… So something is definitely still going on. I’m on Fedora 41 though.