git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git doesn't like big files when pushing

From
Greg KH <greg@kroah.com>
Date
Mar 1, 2006, 22:08 UTC
Message-ID
<20060301220802.GA18250@kroah.com>

I have a mail archive stored with git, in mbox form, and I made some changes to a few of the files and checked them back in.

That worked fine, but when I went to push the stuff to my server, I got the following errors:

$ git push origin
updating 'refs/heads/master'
  from 490badd9bec9ada3a21be275c97fb2a3a390f49e
  to   16be8985abc8a9c89ad2cc8f46a0d8e9786e832f
Generating pack...
Done counting 8 objects.
Deltifying 8 objects.
fatal: Out of memory, malloc failed
fatal: early EOF
unpack unpacker exited with error code
ng refs/heads/master n/a (unpacker error)

And here are the file sizes of the files that were changed: $ ls -lh linux-usb-devel.save.200* -rw-r--r-- 1 greg users 41M Jan 6 14:30 linux-usb-devel.save.2001 -rw-r--r-- 1 greg users 80M Jan 6 14:30 linux-usb-devel.save.2002 -rw-r--r-- 1 greg users 74M Jan 6 14:30 linux-usb-devel.save.2003 -rw-r--r-- 1 greg users 99M Jan 6 14:30 linux-usb-devel.save.2004 -rw-r--r-- 1 greg users 89M Jan 6 14:30 linux-usb-devel.save.2005

So, am I just foolish for trying to use git for this? Should I just go back to using rsync to back stuff like this up with?

thanks,
greg k-h
Next: Greg KH
Message 1 of 10 in “git doesn't like big files when pushing”
  1. Greg KHMar 1, 2006
  2. Greg KHMar 1, 2006
  3. Greg KHMar 1, 2006
  4. Junio C HamanoMar 1, 2006
  5. Greg KHMar 1, 2006
  6. Greg KHMar 1, 2006
  7. Greg KHMar 2, 2006
  8. Martin LanghoffMar 2, 2006
  9. Linus TorvaldsMar 1, 2006
  10. Simon RichterMar 2, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.