ketchup is obsolete, everyone should use git; but how on 256MB machine?

From: Pavel Machek
Date: Thu Jul 06 2017 - 17:59:50 EST


Hi!

I tried using git to clone kernel tree on N900, and could not figure
out how to do that. This machine has 256MB ram... more than enough for
kernel compilation, but apparently not enough for git.

pavel@n900:/data/tmp$ git clone --depth -1
git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-n900.git
Cloning into 'linux-n900'...
remote: Counting objects: 4003373, done.
remote: Compressing objects: 100% (610717/610717), done.
fatal: Out of memory, calloc failed
fatal: index-pack failed
pavel@n900:/data/tmp$ cat ~/.git/config
[core]
packedGitLimit = 32m
packedGitWindowSize = 32m

[pack]
deltaCacheSize = 32m
packSizeLimit = 0
windowMemory = 32m
pavel@n900:/data/tmp$

[I also tried without --depth option and without .git/config, and with
various settings.]

Any idea how to get it to work?

Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature