Mercurial > hg
annotate rust/Cargo.toml @ 49552:1994842955db stable
upgrade: no longer keep all revlogs in memory at any point
Keeping all object open is unsustainable, so we will open them on demand. This
mean opening them multiple times, but this is a lesser evil.
Each revlog consume a small amount of memory (index content, associated nodemap,
etc). While there are few "big" revlog, the sheer amount of small filelog can
become a significant issue memory wise, consuming multiple GB of memory. If you
combines this extra usage with the use of multiprocessing, this usage can
quickly get out of control. This can effectively block the upgrade of larger
repository. This changeset fixes this issue.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 04 Nov 2022 16:15:12 -0400 |
parents | cf04f62d1579 |
children | 34e0670caf46 |
rev | line source |
---|---|
35569
964212780daf
rust: implementation of `hg`
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
1 [workspace] |
44981
cf04f62d1579
rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents:
44638
diff
changeset
|
2 members = ["hg-core", "hg-cpython", "rhg"] |
44638
af739894a4c1
hgcli: add stub PyOxidizer project
Gregory Szorc <gregory.szorc@gmail.com>
parents:
44637
diff
changeset
|
3 exclude = ["chg", "hgcli"] |