jesseduffield / lazygit

simple terminal UI for git commands
MIT License
53.23k stars 1.86k forks source link

Possible memory leak #3497

Open Yaro77 opened 7 months ago

Yaro77 commented 7 months ago

Describe the bug Enormous memory usage

To Reproduce I used Lazygit on Friday, and keep it open till Monday

Screenshots After start: lg-on-start After 2 days of doing nothing: lg-after-weekend

Version info: commit=3675570a391b1a49ddd198b4c7e71e17701d4404, build date=2024-03-23T09:09:11Z, build source=binaryRelease, version=0.41.0, os=windows, arch=amd64, git version=2.37.2.windows.2 OS name: Microsoft Windows 10 Pro OS version: 10.0.19045 Н/Д build 19045 Jetbrains Rider 2024.1 Build #RD-241.14494.307, built on April 8, 2024 Powershell 7.4.1 Windows Terminal 1.19.10821.0

Additional context I noticed that Lazygit become very laggy, UI rendering is slow, and checked the Task Manager. Jetbrains Rider on the background with git plugin enabled.

edit: added OS info, rider

stefanhaller commented 7 months ago

Duplicate of #2460.

rRobis commented 5 months ago

Still leaking in v0.42 version. My lazygit got up to 9GB RAM usage. The latest version that doesn't have this, is 0.39.4

ubidev commented 2 months ago

just installed the latest. and currently running at 26gb of ram lol

ubidev commented 2 months ago

but i love this retro experience so much, I'm willing to endure alot of pain hehe

rRobis commented 2 months ago

but i love this retro experience so much, I'm willing to endure alot of pain hehe

I couldn't endure it, and moved to neogit. I still like lazygit more, but this is too much for me 😄