Tried below command and facing error.
C:\project\sys\src>git gc
Counting objects: 6342699, done.
warning: suboptimal pack - out of memory
fatal: Out of memory, malloc failed (tried to allocate 239971384 bytes)
error: failed to run repack
I have tried
git config --global pack.windowMemory 256m
git repack -a -f -d
update the latest git extension
git gc --aggressive --prune=now
I have tried so many options.But still my facing this issue. any idea why i'm getting this error?