- First I do: git submodule update --init
Cloning into '_aaa'... Checking connectivity... done. Submodule path '_aaa': checked out '87311dd0bb0ac9b77cd9bbac0a15671858f0cf17'
- then: git fetch --recurse-submodules
Fetching submodule _base Fetching submodule _aaa Auto packing the repository for optimum performance. You may also run "git gc" manually. See "git help gc" for more information. Counting objects: 21678, done. Compressing objects: 100% (20602/20602), done. Writing objects: 100% (21678/21678), done. Total 21678 (delta 8973), reused 0 (delta 0) Removing duplicate objects: 100% (256/256), done. fatal: Out of memory? mmap failed: Cannot allocate memory fatal: Out of memory? mmap failed: Cannot allocate memory error: failed to run prune
Last update was pretty big about 1GB but there was no files more then 40MB in.
I increased amount of memory on the server from 512M up to 1024M but the problem still exists anyway. I also tried different plays with git gc, window, compress and so on without any result.