I am receiving errors below when I try to push changes(not a problem with memory, or other already issues already mention on stackoverflow), errors are gone when I uninstall
git status
fatal: mmap failed: Invalid argument
Happened to me after failing to sync my OneDrive files. Its sorted now.