git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-repack & big files
@ 2011-01-11  7:37 Pietro Battiston
  2011-01-11 15:43 ` Phillip Susi
  0 siblings, 1 reply; 6+ messages in thread
From: Pietro Battiston @ 2011-01-11  7:37 UTC (permalink / raw)
  To: git

Hello,

first, I do know git is not optimized for big files, and that's fine.
But it is able, on my machine with 3 GB of RAM, to succesfully backup my
home directory¹, which contains, among others, several files of several
hundreds of megabytes each. And I like that a lot.

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:

1) is there a bug, is the documentation about that parameter a bit too
optimistic or did I just not understand it?

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.

thanks for the clarifications

Pietro


¹ Just for the records: through gibak:
http://eigenclass.org/hiki/gibak-0.3.0

² git version 1:1.7.2.3-2.2 on Debian

³ http://caca.zoy.org/wiki/git-bigfiles

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-13  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11  7:37 git-repack & big files Pietro Battiston
2011-01-11 15:43 ` Phillip Susi
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

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).