Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-2572

Too many files will cause SourceTree to hang

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Create a folder 'FolderA' with 3500 new files
      2. Switch to "File Status" tab
      3. Set the view to be "Tree View"
      4. Expand 'FolderA' to view all the files -> SourceTree hang
      5. Restart SourceTree
      6. Switch to "Flat List" single/multi column - no problem
      7. Commit all 3500 files in the repo
      8. Switch to "Log/History" tab
        It will select the first commit automatically. Trying to load 3500 files at the bottom will cause SourceTree hang too

      workaround:

      The issue is with performance in the treeview, to avoid this flat view's should be used in preference to the treeview.
      There are currently two possible work arounds.

      Workaround 1: Reset the User preference, in v1.6.9 to 1.6.11, to use a flat view

      1. Shutdown SourceTree
      2. Find the <Version>/user.config file in a folder below %localappdata%/Atlassian/SourceTree where <version> is 1.6.9, 1.6.10 or 1.6.11
      3. Edit the user.config and set FileStatusViewMode to 0, i.e:
                    <setting name="FileStatusViewMode" serializeAs="String">
                        <value>0</value>
                    </setting>
        
      4. Restart SourceTree

      Workaround 2: Revert to 1.6.8
      A workaround is by uninstalling the current version and install SourceTree version 1.6.8:

      Attachments

        1. st-1.6.12-memory-boost.PNG
          st-1.6.12-memory-boost.PNG
          4 kB
        2. st-1.6.13001-memory-boost.PNG
          st-1.6.13001-memory-boost.PNG
          4 kB
        3. user.config
          15 kB

        Issue Links

          Activity

            People

              mcorsaro Mike Corsaro (Inactive)
              klfoong Foong (Inactive)
              Votes:
              15 Vote for this issue
              Watchers:
              38 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: