Git "Fatal: recursion detected in die handler" exception

This super short article describes how to solve a Git issue when there low memory available.

22 days ago

Latest Post Free Pluralsight Courses - April 2020 by Tyler Moon

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 git status

fatal: recursion detected in die handler

Prerequisites

The Fix

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 pull and status commands.

git config --global core.preloadIndex false

And that's it!

Summary

This super short article describes how to solve a Git issue when there low memory available.

Tyler Moon

Published 22 days ago