public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>
Subject: ketchup is obsolete, everyone should use git; but how on 256MB machine?
Date: Thu, 6 Jul 2017 23:59:38 +0200	[thread overview]
Message-ID: <20170706215938.GA8395@amd> (raw)

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

                 reply	other threads:[~2017-07-06 21:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20170706215938.GA8395@amd \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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