-
-
Notifications
You must be signed in to change notification settings - Fork 551
Description
Describe the bug
When auto-updates/background downloads are enabled, gogdl ‘update’ gets stuck (download 0MB/s) and one gogdl process grows unbounded RSS (tens of GB) while additional gogdl processes remain after closing Heroic.
Observed behavior
gogdl memory increases continuously (on my system ~1% RAM per second) and reaches tens of GB RSS → system runs out of memory.
Reproducible while updating games and/or when “Run downloads in background” is enabled.
System kills Heroic due to RAM usage after ~20min with official RPM, ~5min with Flatpak (Flathub).
gogdl processes are not stopped when Heroic is closed.
two minutes after starting heroic:
ps -eo pid,ppid,cmd,%mem,rss --sort=-rss | head -6
PID PPID CMD %MEM RSS
216686 216642 ./gogdl --auth-config-path 6.4 4248184
217008 216960 ./gogdl --auth-config-path 4.5 2984740
3276 1799 /usr/lib64/firefox/firefox 0.7 468456
8956 8884 /home/myPC/.local/share/Ste 0.6 426808
192906 3367 /usr/lib64/firefox/firefox 0.5 380156
Notes
gogdl processes continue running even after Heroic is closed.
Killing gogdl immediately frees memory.
Clearing ~/.var/app/com.heroicgameslauncher.hgl/data/heroic/gogdl fixes it temporarily.
Flatpak exhibits faster memory growth than RPM on my system (likely due to fewer constraints).
Game updates fail/crash observed regularly starting with Heroic v2.18.1.
Add logs
Logs (shortened)
(13:53:52) [DEBUG]: [Gog]: Logging to file(s) ".../logs/runners/gog.log"
# Normal progress
(13:53:59) [INFO]: [Gog]: Progress for Manor Lords: 9.99%/357.99MB/... Down: 81.81MB/s / Disk: 188.6MB/s
# Enters stall (download drops to 0 and stays there)
(13:54:05) [INFO]: [Gog]: Progress for Manor Lords: 11.19%/655.38MB/... Down: 0MB/s / Disk: 1MB/s
# Repeated warnings during stall
(13:54:04) [WARNING]: No clientId in goggame-1460731635.info file. Cannot resolve save path
# Heroic repeatedly executes gogdl auth during stall
(13:54:18) [INFO]: [Gog]: Running command: .../gogdl --auth-config-path .../auth.json auth
(13:54:24) [INFO]: [Gog]: Running command: .../gogdl --auth-config-path .../auth.json auth
(13:56:31) [INFO]: [Gog]: Running command: .../gogdl --auth-config-path .../auth.json auth
# Auto-update trigger
(13:54:16) [INFO]: [Gog]: Found 3 game(s) to update
(13:54:35) [INFO]: [Gog]: Auto-Updating Svarog's Dream
(13:54:35) [INFO]: [Gog]: Auto-Updating Manor Lords
(13:54:35) [INFO]: [Gog]: Auto-Updating Frostpunk 2
**ps -aux | grep gogdl**
/app/.../gogdl -O -B -S -I -c from multiprocessing.resource_tracker import main;main(33)
./gogdl ... update 1361243432 ... --max-workers 16
./gogdl ... update 1361243432 ... --max-workers 16
./gogdl ... update 1361243432 ... --max-workers 16
./gogdl ... update 1361243432 ... --max-workers 16
# runaway instance:
./gogdl ... update 1361243432 ... --max-workers 16 CPU~98% RSS~36146164 KB
Steps to reproduce
Settings → General → Automatically update games = ON
Trigger a library refresh (manual refresh or app startup) and let auto-updates start.
Observe:
downloads may stall (Down: 0MB/s)
one gogdl update process grows unbounded RSS
additional gogdl processes may accumulate
Close Heroic → observe gogdl processes still running.
Expected behavior
gogdl memory usage should be bounded
Heroic should monitor and restart or terminate gogdl on runaway memory usage
A sane upper limit (e.g. 2–4 GB RSS) would prevent system-wide OOM situations
Screenshots
No response
Heroic Version
Latest Stable
System Information
OS: Fedora Linux 43
KDE Plasma Version: 6.5.4 (Wayland)
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
CPU: Intel Core i7-10700K (16 threads)
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics P: NVIDIA GeForce RTX 4070 SUPER (ASUS) / NVIDIA-SMI 580.119.02 Driver Version: 580.119.02 CUDA Version: 13.0
Additional information
Heroic Package 2.18.1 : Flatpak (Flathub), same behaviour observed with official .rpm