A bit technical and essentially entails creating a new repo, git init
and entering some code (on both sides – desktop and mobile) but on this website there are some good ideas on how to optimize memory consumption.
- It is always worthwhile to search other sites (StackOverflow, for one) on the same topics to see how much leverage one has.
Basically, on both ends you need to copy-paste this into the git config files:
[core]
packedGitLimit = 128m
packedGitWindowSize = 128m
[pack]
deltaCacheSize = 128m
packSizeLimit = 128m
windowMemory = 128m
- The 128m’s are not written in stone, on other sites they go lower at 100m on all and generally needs tweaking to one’s needs.
My experience using this is that the going on iOS is a bit slower than before but mind you, I have a fresh repo and new config, so I no longer have pack files nearly 1GB large, so it’s early going and mostly I’m putting this up for others to engage in testing this.