cloning the linxu kernel repo at a VPS with small RAM

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

 



Situation:

The command
    git clone
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
fails at a virtual server with about 2 GiB RAM under a recent Debian
bookworm with git 2.39.2. What works for me:
      git clone --depth=1
https://git.kernel.org/pub/scm/linux/kernel/git/stable
      cd ./linux
      git config gc.auto 0
      git config pack.threads 1
      git fetch --tags
as seen in [1].

Q:
I do wonder if Git could automatically try to deal with only 1.5 GiB
available RAM?

TIA

[1]
https://github.com/toralf/tor-relays/blob/main/playbooks/roles/setup/tasks/kernel-git.yaml#L22
--
Toralf





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux