mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
A Scalable, User-Friendly Source Control System.
39e66964f4
Summary: While datapack repack is fairly inexpensive in memory and mostly limited to the number of entries in its index, a historypack repack needs to keep both the data and the index in memory. It appears that the overhead of doing so is a big factor in repack taking a lot of memory as a resulting 100MB histpack would use about 1.2GB of RAM. Extrapolating the numbers, a resulting 4GB histpack would need 48GB, which is enough to put a devserver in a swapping state, and worse for laptops. Limiting the historypack size to 400MB should cap the RAM usage to a bit under 5GB. Reviewed By: kulshrax Differential Revision: D14757839 fbshipit-source-id: b08bf01bddad01f1cae9cc67d4bd3d637c0bf0db |
||
---|---|---|
contrib | ||
distutils_rust | ||
doc | ||
edenscm | ||
exec | ||
i18n | ||
lib | ||
newdoc | ||
slides | ||
tests | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.hgsigs | ||
.jshintrc | ||
CONTRIBUTING | ||
CONTRIBUTORS | ||
COPYING | ||
gen_version.py | ||
hg | ||
hgeditor | ||
hgweb.cgi | ||
Makefile | ||
README.rst | ||
setup.py |
Mercurial ========= Mercurial is a fast, easy to use, distributed revision control tool for software developers. Basic install:: $ make # see install targets $ make install # do a system-wide install $ hg debuginstall # sanity-check setup $ hg # see help Running without installing:: $ make local # build for inplace usage $ ./hg --version # should show the latest version See https://mercurial-scm.org/ for detailed installation instructions, platform-specific notes, and Mercurial user information.