Skip to content

High CPU usage #2358

@FREEZX

Description

@FREEZX

Sometimes SourceGit jumps to 50-80% of CPU usage and pretty much locks up. I noticed that after force-closing it in this state and running git status after this state, git is running an index refresh for a few minutes. After that's done, SourceGit is back to working normally. Otherwise, if I just start it again normally without doing git status in terminal, it goes back to high CPU usage + locked up.

My guess is that SourceGit likely spams git commands without waiting on at least one of the commands to finish normally, so there are likely multiple commands triggering index refresh.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions