public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* cloning the linxu kernel repo at a VPS with small RAM
@ 2024-02-08 17:32 Toralf Förster
  2024-02-08 20:16 ` Dragan Simic
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Toralf Förster @ 2024-02-08 17:32 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-10 10:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08 17:32 cloning the linxu kernel repo at a VPS with small RAM Toralf Förster
2024-02-08 20:16 ` Dragan Simic
2024-02-08 20:35   ` Dragan Simic
2024-02-09  1:29 ` Eric Wong
2024-02-10 10:35 ` Toralf Förster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox