git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.48k stars 1.25k forks source link

Massive memory leak in version 1.4.1 (1050) on M1 macbook #1013

Open brianjamesroberts opened 1 month ago

brianjamesroberts commented 1 month ago

Saw memory usage on m1 macbook pro 32gb, of GitUp, creep up to ~12GB, via Activity Monitor native app. GitUp had only been alive a couple of hours.

Running on Mac OSX Sonoma 14.4.1 (23E224)

Upon reopening it to a single repository (100MB or so repository, thousands of commits), gitup opens and consumes 55MB and quickly works its way up to 350MB while not interacting with the app. When window-focusing on gitup it went back down to 237MB. Haven't seen it creep back up above 350MB yet, but its only been alive a few minutes.

lucasderraugh commented 1 month ago

Hmm, there wasn't too much changed in the release but I'll take a look. So far I haven't gotten out of the normal usual range, but if I somehow start seeing gigabytes being taken up I'll definitely investigate.

If you find any steps that reproduce the issue that would be good to know as well.

brianjamesroberts commented 1 month ago

ack, if i encounter it again, is there a way to capture diagnostics to upload for you?

richardtop commented 1 month ago

Can confirm, this has been an issue previously, pre that release. Very sporadic and rare.