Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git fatal: mmap failed: Invalid argument

Tags:

git

When i try to issue the command "git status" i get the below message. I am using the command line. Any idea how to fix it please:


fatal: mmap failed: Invalid argument

like image 674
AA2018-2020 Avatar asked Feb 20 '20 14:02

AA2018-2020


2 Answers

For me, it was solved by letting OneDrive sync again. It was paused syncing when I got the error. https://stackoverflow.com/a/61033756/3718756

like image 120
jhwblender Avatar answered Nov 08 '22 10:11

jhwblender


In my case it was a large ZIP file into the repository (2,33GB). I resolved moving the ZIP file into a different folder (outside the repo)

like image 20
Massimiliano Vaselli Avatar answered Nov 08 '22 11:11

Massimiliano Vaselli