Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3393

Merge consuming too much memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • trunk
    • 1.6.2
    • libsvn_client
    • None

    Description

      When a merge target has thousands of subtrees with explicit mergeinfo memory
      usage increases into the multi-GB range:
      
      http://subversion.open.collab.net/ds/viewMessage.do?dsForumId=4&dsMessageId=310649
      http://svn.haxx.se/users/archive-2008-10/0557.shtml
      http://svn.haxx.se/dev/archive-2009-04/0290.shtml
      
      The merge code does hold an array of svn_client__merge_path_t in memory
      describing all the subtree paths with mergeinfo, so we expect memory usage to be
      proportional to the number of subtrees, but 4GB!  Something is wrong...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pburba Paul Burba
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: