PoolManager.asi will attempt to identify the cause of a crash in GTA 5 if the crash is related to a memory pool within gameconfig.xml. It doesn’t identify all pool issues except in cases where the value is too low.
The project is open source and can be found here: https://github.com/Dilapidated/PoolManager
Credits:
FiveM/Dilapidated
Special Thanks: Alexguirre