Autoexec help please

The one on that i was using to prevent my crashes is gone. I was wondering if someone would make another one and upload it to or post its contents in this post. The one i used on disabled blood and the eyes and mouths of ragdolls. As well as a bunch of other stuff. Can you make the autoexec disable anything that will cause gfx lag.

Thanks in advance.

Right click garrysmod in steam, properties, Boot Options (Or something)
And add:

-heapsize 524288 -nocrashdialog

The first one reserves 512mb Of RAM for gmod, And the second one suppresses some memory errors.

-heapsize <kilobytes> - Specifies the heapsize (in kilobyte) the game will use.
-nocrashdialog - Suppresses some ‘memory could not be read’ unhandled errors

^This prevents some crashes, But doesnt affect quality

Forgot to mention that im on intel intergrated graphics. Im going to test what you posted Goz3rr i just wanted to have someone fill in more so i can have a backup.

Are you sure? Doesn’t it just prevent the windows that pop up when it crashes?

havnt had time to test his solution yet im in class at the moment. Would like an autoexec that will disable all unimportant visual stuff.

Thats what it says at the valve site :stuck_out_tongue:
And after i started using it, I got less crashes…