[Bug 5043] New: `hg convert` hg <=> hg appears to leak memory

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Jan 17 06:15:41 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5043

            Bug ID: 5043
           Summary: `hg convert` hg <=> hg appears to leak memory
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: convert
          Assignee: bugzilla at selenic.com
          Reporter: gregory.szorc at gmail.com
                CC: durin42 at gmail.com, mercurial-devel at selenic.com

I'm doing a local `hg convert` of mozilla-central to a repo with tree
manifests. The process has been slowly growing in memory usage since I started
it. After ~207k changesets processed, it is up to ~8.376 GB RSS and still
growing. I reckon there is a memory leak somewhere, as I can't imagine `hg
convert` would require >8 GB of state.

STR:

  $ hg clone -U https://hg.mozilla.org/mozilla-central mc-default
  $ hg init --config experimental.treemanifests=true mc-treemanifests
  $ hg convert mc-default mc-treemanifests

I haven't verified that tree manifests are the source of the leak. I wouldn't
be surprised if they weren't.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list