[Bug 5780] New: hg incoming --bundle --quiet uses debilitating amounts of RAM on large repos

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Feb 1 23:02:27 UTC 2018


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

            Bug ID: 5780
           Summary: hg incoming --bundle --quiet uses debilitating amounts
                    of RAM on large repos
           Product: Mercurial
           Version: 4.4.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: fiendishx at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Trying to apply a generic method to get a bundle from a remote repo without
cloning first, because downloading a bundle that I can't save just to make my
own from its applied output is super wasteful:

> hg incoming --quiet -l 1 --bundle out https://hg.mozilla.org/mozilla-unified/

(because -l can't be 0, and --quiet alone still generates tons of output)


After downloading the entire bundle, the process then balloons to use over 12GB
of RAM for no reason and then aborts with

> abort: Cannot allocate memory

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


More information about the Mercurial-devel mailing list