-
-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Stretchly spawns a lingering process on each break #925
Comments
Hi, that's how electron works. Stretchly is built with electron. |
Ouch. So I need to manually restart Stretchly regularly to avoid memory leak? |
I might be wrong but I don't think it is a memory leak. Look for example on Slack or other electron based apps, they have many processes as well. |
Having many processes isn't a problem if it doesn't grow. But in stretchly's case it starts off with 4, then goes up by 1 every break. I rarely reboot so over time there are literally hundreds of processes. |
Ok, I don't have Windows but let me try on Linux. Just quited Stretchly, started again and I have 8 processes running. We'll update later if I don't forget. I am doing regular
update: also on Linux |
Not sure if same, will have to read later, but quick search finds this: electron/electron#21586 |
Facing the same problem on windows, new process gets spawned after every break. |
I think it has some sort of memory leak issue. For me on Linux - ubuntu 20.04, snap version. I also experience the VRAM leak issue. |
I get the same issue with |
I get this too on Windows 10. |
Hello, Emergency solution: |
Sorry guys, but looks like noone is working on this on Electron's side: electron/electron#21586 |
It contains a bug fix for electron process leak on every break. hovancik/stretchly#925
It contains a bug fix for electron process leak on every break. hovancik/stretchly#925 (cherry picked from commit 327e6a9)
Prerequisites
Description
I looked at task manager and noticed there are hundreds of stretchly processes. I closed and restarted stretchly. I see there are a few Stretchly.exe in task manager, and on each break a new process is spawned.
Operating system: Windows 10 20H2
Steps to Reproduce
Expected behavior: Number of stretchly process (and memory usage) remains roughly constant.
Actual behavior: Stretchly keeps spawning processes.
Reproduces how often: 100%
Additional Information
None
Debug information
config.json (I have never edited this manually)
The text was updated successfully, but these errors were encountered: