Sometimes you could get issues with allocated memory while commiting any huge file in your git repository. Following error message will printed:
fatal: Out of memory, malloc failed (tried to allocate 1476237742 bytes)
This means that the delta compression needs more than the allocated memory.
You could solve this issue with following settings in your local
[core] packedGitLimit = 128m packedGitWindowSize = 128m [pack] deltaCacheSize = 128m packSizeLimit = 128m windowMemory = 128m
Please exetend the `[core]` section in your config instead of duplicate or replace it.
Detailed information could be found here: Better git memory usage settings for huge files