More is not More for Modding
Beware of well-intentioned but poorly conceived advice that maxing out parameters in heap, pack, and gameconfig.xml will fix crashing issues. The opposite is more likely true. You can find some truly moronic advice on YouTube and in the comment sections of the mods referenced above.
The sad truth is that increasing your heap size to a terabyte won't compensate for the fact you only have 8GB of RAM.
Similarly, increasing the pack parameters to 1 million won't allow you to install 50,000 vehicles and 10,000 peds along with every map and racetrack and MLO available in the mods section.
A stable modded system requires your hardware meets or hopefully exceeds recommendations for the vanilla game. It requires setting up the proper modding environment together with updated gameconfig.xml and heap and pack mods. It requires updated video drivers and in game visual settings that are appropriate for your hardware.
Tweaking parameters well past the recommendations by the mod authors, or well past those of common sense, will not compensate for underperforming hardware and will definitely not fix issues stemming from improperly installed mods, too many or outdated scripts, poorly designed vehicles, dlclist syntax errors, or Rockstar fuck you very much updates.
The same applies to the idiotic advice to replace Alexander Blade's version of dinput8.dll. Do you honestly think some moron on twitch or YouTube should know better than AB? Are you yourself going to second guess AB? Same applies to authors like alloc8or and Dilapidated. Are you going to trust their recommended settings or dismiss them in favor of some idiot's comment in the mods section which is along the lines of if x is recommended, then certainly x multplied by 100 must be better.
My only advice is don't start introducing more unknown variables when you're troubleshooting. On the contrary, leave things you don't fully understand alone, things that aren't even documented. Instead temporarily remove mods to simplify the troubleshooting process.
For the record, my gameconfig, packfile, and heap mods are all untouched, all at their default settings, and i do have close to a thousand mods installed with a very stable mid range desktop PC which i built from scratch. All my in game visual settings are maxed out. I don't use NVE or QuantV or similar garbage because my eyes, while not perfect, register colours, brightness, contrast, and saturation the way the game and nature intended.