Skip to contentSkip to conversation

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

DISCUSSION Pavel Machek 1 participant 1 message Jul 6, 2017

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html