rafaelmardojai / forge-sparks

Get git forges notifications
MIT License
61 stars 7 forks source link

Memory leaks #40

Open clarfonthey opened 1 month ago

clarfonthey commented 1 month ago

There appears to be a memory leak somewhere in the app; I'm on version 0.3.0 from Flatpak and the other day I had to force-kill the program because it was using 16 GiB of memory. Now, after leaving it on all day, it's gotten up to 2 GiB already.

Note: I'm calling this a memory leak because things are being retained in memory when they should be deleted. I know that JavaScript garbage-collects unreferenced objects, but this can easily be accidentally circumvented by storing extra copies of things in a list or map when they're no longer needed.

Willing to help profile this if it's hard to nail down, or if I'm the only one experiencing this, but I figured I'd mention it in case I'm not the only person who's noticed it.