This is going to be a super short article on how to solve a rare Git issue. There is a scenario where the following message will show up when using
git pull or
fatal: recursion detected in die handler
- Git repo that is displaying the above error
This error can occur in systems with low memory available, which can be common on highly utilized web servers. To solve this issue run the following command to tell Git to stop preloading indexes which will cause it to use less ram on
git config --global core.preloadIndex false
And that's it!
This super short article describes how to solve a Git issue when there low memory available.