• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • 2.7
    • None
    • None
    • macOS Sierra 10.12.6

    • Severity 3 - Minor

      After upgrading to SourceTree Version 2.7 (152) today I'm seeing high CPU usage when SourceTree is running with one of my repositories open. I see sustained CPU usage from 90-100% (of one core) for around 30 seconds, which then reduces to 30-40%. It seems to spike back up to near 100% when the SourceTree window is in the background without focus (e.g. it's doing that as I write this report while SourceTree is behind my web browser).

      High CPU usage continues even after I close the repository window, until I quit and restart SourceTree. I have seen it drop back down to ~1-2% as well but when I first noticed the issue, SourceTree was hovering at high CPU usage even after I hadn't interacted with it for a while.

      I am seeing this with multiple private Git repositories from my company's Bitbucket account, but not with every repository. Unfortunately I haven't found an open source repository that I can reproduce this problem with yet. I realize this would be a much better bug report with a repro against a publicly available repository – I don't have time to do more searching for one today but let me know if that is critical and I will try to get a better repro when I can.

      I did not see this problem prior to upgrading to 2.7 today.

        1. Analysis of Sourcetree.txt
          231 kB
        2. image-2019-03-05-09-44-47-057.png
          image-2019-03-05-09-44-47-057.png
          41 kB
        3. image-2019-03-05-09-45-22-237.png
          image-2019-03-05-09-45-22-237.png
          126 kB
        4. image-2019-03-05-09-48-49-102.png
          image-2019-03-05-09-48-49-102.png
          13 kB
        5. Sourctree-MacOS-Mojave.png
          Sourctree-MacOS-Mojave.png
          54 kB

            [SRCTREE-5306] SourceTree high CPU usage

            Closing this ticket as this has been improved and no seen in the latest version of SourceTree.

            Natchiar Venkatachalam (Inactive) added a comment - Closing this ticket as this has been improved and no seen in the latest version of SourceTree.

            Updated to v4.1.9 for ~2 hours.  So far %CPU is staying low.

            Drew Liscomb added a comment - Updated to v4.1.9 for ~2 hours.  So far %CPU is staying low.

            Hi All,

            Can you please update to the latest version and let us know if this issue has been resolved?

            Natchiar Venkatachalam (Inactive) added a comment - Hi All, Can you please update to the latest version and let us know if this issue has been resolved?

            Raul Gomis added a comment -

            Hi everyone, 

            Thanks for your feedback and apologies for any inconvenience caused by this issue.

            Both this and M1 chipset support (https://jira.atlassian.com/browse/SRCTREE-7446) will be our priorities moving forward in Sourcetree for Mac.

            We'll keep you updated on the progress of this issue.

            Regards,

            Raul

            Raul Gomis added a comment - Hi everyone,  Thanks for your feedback and apologies for any inconvenience caused by this issue. Both this and M1 chipset support ( https://jira.atlassian.com/browse/SRCTREE-7446 ) will be our priorities moving forward in Sourcetree for Mac. We'll keep you updated on the progress of this issue. Regards, Raul

            Crikes, what is it with the Atlassian Revolving Door.

            All the people who work on Sourcetree seem to become (Inactive)

            Drew Liscomb added a comment - Crikes, what is it with the Atlassian Revolving Door. All the people who work on Sourcetree seem to become (Inactive)

            I posted my situation to SRCTREE-5388.

            Drew Liscomb added a comment - I posted my situation to SRCTREE-5388 .

            Carsten added a comment -

            Nope, the fix is not working. I have Mac with 3,8 GHz 8-Core Intel Core i7 here, and if sourcetree with pipeline markers is in the background, it leads to lagging of the whole Mac user interface. Thats crazy.

            What the heck are you sending to the windows server for repaint if sourcetree should idle? How are you even possible to generate around 50% CPU for windowserver (minus 10% for activity monitor) + 30% CPU for sourcetree doing nothing?

            If I close sourcetree the window server goes down to single digit % CPU as seen in the second screenshot.

            Sourcetree Version: 4.1.3 (239)

            Carsten added a comment - Nope, the fix is not working. I have Mac with 3,8 GHz 8-Core Intel Core i7 here, and if sourcetree with pipeline markers is in the background, it leads to lagging of the whole Mac user interface. Thats crazy. What the heck are you sending to the windows server for repaint if sourcetree should idle? How are you even possible to generate around 50% CPU for windowserver (minus 10% for activity monitor) + 30% CPU for sourcetree doing nothing? If I close sourcetree the window server goes down to single digit % CPU as seen in the second screenshot. Sourcetree Version: 4.1.3 (239)

            Carsten added a comment -

            Hi Alan,

            i directly downloaded the new version and it work a bit on mac Big Sur 11.4. It's not at 100%+, but idles at 20% cpu usage.

            Can you fix the last 20% too?

             

            Thanks

            Carsten added a comment - Hi Alan, i directly downloaded the new version and it work a bit on mac Big Sur 11.4. It's not at 100%+, but idles at 20% cpu usage. Can you fix the last 20% too?   Thanks

            Hi Everyone,

            Thanks for your patience.

            CPU % boosting issue when we have Bitbucket pipeline enabled in Sourcetree have been fixed in the latest version. You can download it directly from here: Sourcetree v4.1.1

            We are continuing to work on with the CPU issue for the larger repos. We hope we can come out with a fix soon.

            Alan Francis (Inactive) added a comment - Hi Everyone, Thanks for your patience. CPU % boosting issue when we have Bitbucket pipeline enabled in Sourcetree have been fixed in the latest version. You can download it directly from here: Sourcetree v4.1.1 We are continuing to work on with the CPU issue for the larger repos. We hope we can come out with a fix soon.

            slynn added a comment -

            Any sign of a fix on this - it's a disaster, makes SourceTree unusable.

            slynn added a comment - Any sign of a fix on this - it's a disaster, makes SourceTree unusable.

              80d8f352dcbd Krishna Murari Jha (Inactive)
              4ca69e94d064 jlittle_hciq
              Affected customers:
              139 This affects my team
              Watchers:
              103 Start watching this issue

                Created:
                Updated:
                Resolved: