public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* low memory system to clone larger repo
@ 2015-01-08 16:10 matthew sporleder
  2015-02-09 10:40 ` Duy Nguyen
  2015-02-09 12:32 ` Duy Nguyen
  0 siblings, 2 replies; 12+ messages in thread
From: matthew sporleder @ 2015-01-08 16:10 UTC (permalink / raw)
  To: git

I am attempting to clone this repo: https://github.com/jsonn/src/

and have been successful on some lower memory systems, but i'm
interested in continuing to push down the limit.

I am getting more success running clone via https:// than git:// or
ssh (which is confusing to me) and the smallest system that works is a
raspberry pi with 256 RAM + 256 swap.

I seem to run out of memory consistently around 16% into Resolving
deltas phase but I don't notice an RSS jump so that's another
confusing spot.

My config is below and I'd appreciate any more suggestions of getting
that down to working on a 128MB box (or smaller).

---

I appreciate any suggestions,
Matt

p.s. shallow clones work fine on very small systems


[pack]
        windowMemory = 1m
        packSizeLimit = 1m
        deltaCacheSize = 1m
        deltaCacheLimit = 10
        packSizeLimit = 1m
        threads = 1
[core]
        packedGitWindowSize = 1m
        packedGitLimit = 1m
        deltaBaseCacheLimit = 1m
        compression = 0
        loosecompression = 0
        bigFileThreshold = 10m
[http]
        sslVerify = false
[transfer]
        unpackLimit = 10

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

end of thread, other threads:[~2015-02-11 13:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 16:10 low memory system to clone larger repo matthew sporleder
2015-02-09 10:40 ` Duy Nguyen
2015-02-09 11:20   ` Matt Sporleder
2015-02-09 12:32 ` Duy Nguyen
2015-02-09 13:18   ` [PATCH] index-pack: reduce memory footprint a bit Nguyễn Thái Ngọc Duy
2015-02-09 19:27     ` Junio C Hamano
2015-02-10  9:30       ` Duy Nguyen
2015-02-10 12:08         ` matthew sporleder
2015-02-10 18:49           ` Junio C Hamano
2015-02-11 13:01             ` matthew sporleder
2015-02-11 13:10               ` Duy Nguyen
2015-02-10  3:56   ` low memory system to clone larger repo matthew sporleder

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