rowanj / gitx

Fork of Pieter's nice git GUI for OS X. Includes branch/tag sidebar and various fixes. Current development focus is on removing legacy git command line usage in favour of libgit2 and objective-git.
http://rowanj.github.com/gitx
Other
2.15k stars 205 forks source link

Spiking CPU / crashing on Spark repository #415

Open ryan-williams opened 9 years ago

ryan-williams commented 9 years ago

Spark has a higher than usual # of branches and commits, and GitX routinely struggles with and crashes when I'm trying to use it.

Screenshot from just now:

GitX slowing my computer to a crawl for seconds or minutes, sometimes crashing:

Could be useful as a benchmark for testing GitX's ability to handle large repos or a forcing function to think about how to do some things more efficiently. Let me know if I can provide more info.

ryan-williams commented 9 years ago

I should mention that, when GitX is struggling with Spark, the behavior that seems to be worse for my computer's usability than the CPU usage is the memory usage. In the screen above it is using >43GB of VIRT, and a few minutes later the same github process was up to 75GB:

It seems to max out close to 80GB and my entire computer freezes.

Is it trying to load all of the repos commits into memory? If so, can some kind of paging mechanism be introduced?