From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: When I clone the kernel source, I encounter a fatal error.
Date: Tue, 8 Nov 2016 17:06:53 +0100 [thread overview]
Message-ID: <20161108160653.GA32073@kroah.com> (raw)
In-Reply-To: <CA+PpKPkpTR0YE7354kFmJQ-Ooz69uTvA9LA7XGgPttA0pND_xg@mail.gmail.com>
On Tue, Nov 08, 2016 at 11:52:44PM +0800, Hao Lee wrote:
> Hi,
>
> I used to run 'git clone --depth=1' to get kernel source, because this
> way is very lightweight. But today, I want to clone the whole git
> repository with 'git clone
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git'
>
> Then, I encounter a problem.
>
> The output is :
>
> Cloning into 'linux-stable'...
> remote: Counting objects: 5531619, done.
> remote: Compressing objects: 100% (492978/492978), done.
> error: index-pack died of signal 9531619), 777.26 MiB | 19.22 MiB/s
> fatal: index-pack failed
>
> I do this on my VPS which has 768M memory. Is it because the memory is
> not enough?
Yes.
> If so, is it possible to limit the memory usage of Git?
Not really, try giving your VM more memory, the kernel tree is bigger
than 768M.
good luck!
greg k-h
prev parent reply other threads:[~2016-11-08 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-08 15:52 When I clone the kernel source, I encounter a fatal error Hao Lee
2016-11-08 16:02 ` Craig Inches
[not found] ` <20161108160750.GA6384@battlestar.xayto.local>
2016-11-09 4:01 ` Hao Lee
2016-11-08 16:06 ` Greg KH [this message]
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=20161108160653.GA32073@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.