From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Billes Tibor <tbilles@gmx.com>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: git-fast-import out of memory
Date: Fri, 5 Jun 2020 22:43:42 +0000 [thread overview]
Message-ID: <20200605224342.GF6569@camp.crustytoothpaste.net> (raw)
In-Reply-To: <c53bb69b-682d-3b47-4ed0-5f4559e69e37@gmx.com>
[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]
On 2020-06-05 at 05:15:04, Billes Tibor wrote:
> Can you help me fix this issue? I hope the information I gathered is
> enough to
> help you find the cause of this behavior. I'd be happy to provide more
> information if needed or test patches. Unfortunately the source code I was
> fetching is proprietary, I cannot post it.
Hey, thanks for this report. I can confirm this with git.git and the
following commands:
git fast-export --all --reencode=yes --signed-tags=verbatim --tag-of-filtered-object=drop >$TMP/git.fe
cd $TMP && rm -fr test-repo && git init test-repo &&
(cd test-repo && /usr/bin/time git fast-import --export-marks=$TMP/git.marks < $TMP/git.fe &&
/usr/bin/time git fast-import --import-marks=$TMP/git.marks < $TMP/git.fe)
The latter fast-import command gets killed with SIGKILL due to using 16
GiB of memory, which I would agree is unreasonable.
It looks like with Junio's patch at
<xmqqeeqto4x1.fsf@gitster.c.googlers.com>, the memory usage is down to
1.4 GiB, which considering that a pack must be written, is much more
reasonable.
--
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next prev parent reply other threads:[~2020-06-05 22:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 5:15 git-fast-import out of memory Billes Tibor
2020-06-05 22:43 ` brian m. carlson [this message]
2020-06-06 0:22 ` [PATCH] fast-import: fix incomplete conversion with multiple mark files brian m. carlson
2020-06-06 0:22 ` [PATCH v2 0/1] Run pipeline command in subshell in sh mode brian m. carlson
2020-06-06 0:31 ` brian m. carlson
2020-06-06 0:22 ` [PATCH v2] exec: run final pipeline command in a " brian m. carlson
2020-06-08 15:52 ` [PATCH] fast-import: fix incomplete conversion with multiple mark files Tibor Billes
2020-06-08 16:47 ` Junio C Hamano
2020-06-08 22:58 ` brian m. carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200605224342.GF6569@camp.crustytoothpaste.net \
--to=sandals@crustytoothpaste.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=tbilles@gmx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).