Troubleshooting Performance Problems in SourceTree
There are a number of reasons that SourceTree may be performing poorly. Before you ask support or developers it would be helpful if you could go through the following list to help narrow down what the problem is, as well as a list of items to provide to support in the event of poor performance.
Things you can do to help SourceTree's performance
- If you have a lot of untracked files, make sure the filters in SourceTree don't show these as Git/Hg take a long time to respond.
- If you're using a system version of Git/Hg, make sure it's a recent version.
- Make sure you have plenty of system resources available, CPU, RAM, plenty of hard disk space etc.
- That you've got an up-to-date copy of SourceTree (we no longer publish to the App Store!)
- That the repository location is local, i.e. on your hard disk rather than over a network or mounted volume.
- Calling Git/Hg from the terminal performs as expected i.e. 'git log'
- Make sure there's no applications constantly writing to disk at a repository location, this would cause SourceTree to constantly refresh.
- Ensure files in your repository aren't locked (i.e. open in an editor) when trying to perform Git/Hg operations on them
Information to provide to support
- Whether it's for Git/Hg and which version (embedded, system, and what system version if system)
- System resources, CPU/RAM/HDD capacity (+ available hard disk space)
- Where your repository is located, i.e. locally, on a mounted volume or over a network (SMB share etc.)
- How many repositories you have in SourceTree
- How many repository windows you have open at one time
- The version of SourceTree you're using
- Operating system version.
- The file filters you're using in SourceTree, i.e. 'Show Untracked'
- If you have a lot of untracked files, please make a note of this also
- Can you run 'git status' on that repository?
- Log files located in:
- Windows: C:\Users\<username>\AppData\Local\Atlassian\SourceTree\sourcetree.log
- Mac: Open "Console" application and search for "SourceTree". Copy any relevant output.