Why is SourceTree becoming so slow

Hey guys

We are huge fans of all your atlassian products and we are using them a long time. But the last two updates of Sourcetree (Mac) made the app unusable. Wew allways have CPU usage of 400% when we try to do some commits in sourcTree. Is there an update comming which fixes this massive consumption of CPU power?

Thanks for your answers

Andy

4 answers

Hey Andy,

This is usually because there's something constantly writing changes to a file in your repository, so the file watcher fires up and asks Git for a status on the repository which continuously utilises your CPU. Might be worth checking you've not got any applications open that could be doing this. Are you using Git or Mercurial? Mercurial uses Python, so certain versions or scripts could have gone rogue, too.

Cheers

Hey Kieran

We are using git and the problem occured with the last to updates of sourcetree. There was no problem before that. We have only running or IDE's (e.g. PyCharm, RubyMine, Eclipse)

Best regards

Andy

I did a test with everything closed (besides Microsoft OCS, that is not related and the task manager), no command line and no IDE open. It took 7 seconds of CPU at 100% to move a single file from "unstaged files" to "staged files" and to show the diff of the next file. Tried it again and took 10 seconds this time.

Hey Kieran

We are using git and the problem occured with the last to updates of sourcetree. There was no problem before that. We have only running or IDE's (e.g. PyCharm, RubyMine, Eclipse)

Best regards

Andy

I am also experiencing the same problem on my Macs. New to SourceTree, but its obvious that the SourceTree process is running off and chewing up all available CPU. Still havent nailed down a use case that triggers it. Killing and restarting SourceTree cleans it up , but that is not a good solution, esp if in the middle of pushing a committ...

I am experiencing the same problem on a Citrix virtual machine. Last time I used it I was checking the modified files one by one and every time I selected the checkbox of a file it was going crazy with the CPU and took a long time to go to the next file. I had a list of 50 files to review. I will try this again with all IDEs closed. I am using IntelliJ IDEA.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you