git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: Pietro Battiston <me@pietrobattiston.it>
Cc: git@vger.kernel.org
Subject: Re: git-repack & big files
Date: Tue, 11 Jan 2011 10:43:37 -0500	[thread overview]
Message-ID: <4D2C7AA9.1020506@cfl.rr.com> (raw)
In-Reply-To: <1294731438.3300.973.camel@voubian.casa>

On 1/11/2011 2:37 AM, Pietro Battiston wrote:
> Since it perfectly does what it is not optimized to do... I then wonder
> when it does not do what it declares: if I run git-repack² with the
> parameter --window-memory set to, for instance, "100m", it takes
> hundreds and hundreds of MB of memory until it runs out of memory, fails
> a malloc and aborts.
> So, two questions:

--window-memory reduces the window size to try and stay under the limit,
 but the window size can not be reduced below 1.

> 2) do I have any hope that in one way or another my 500+ MB mailboxes
> with relatively small changes over time are archived smartly (=diffs) by
> git at the current state of development? If I understand correctly, the
> project git-bigfiles³ would just "solve" my problems by not making
> differences of big files.

Git is not a backup tool.  You should use rsync rdiff-backup instead.

  reply	other threads:[~2011-01-11 15:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11  7:37 git-repack & big files Pietro Battiston
2011-01-11 15:43 ` Phillip Susi [this message]
2011-01-11 19:03   ` Pietro Battiston
2011-01-11 19:12     ` Stephen Bash
2011-01-11 19:48     ` Phillip Susi
2011-01-13  8:00       ` Pietro Battiston

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2C7AA9.1020506@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=git@vger.kernel.org \
    --cc=me@pietrobattiston.it \
    /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.
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 NNTP newsgroup(s).