Re: When I clone the kernel source, I encounter a fatal error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux