should insert notes stating what each command does in simple terms, makes it easier for people to figure out what's fucking up if they can just think "x is fucked" and then look in the autoexec for "changes x"
would be pretty neato
do you have 8 or 16gb of RAM?Since using this autoexec, my Gmod constantly eats up all my memory to the point of an inevitable crash.
Which line is causing this, so I can remove it?
mem_max_heapsize "8192"
16. I thought that the ram might be a problem, so I tried halving the memory max, but I still have the issue.do you have 8 or 16gb of RAM?
if 8, here's the issue
16. I thought that the ram might be a problem, so I tried halving the memory max, but I still have the issue.
I mean, it is the problem- because as soon as I changed Autoexecs, Gmod stopped causing my computer to run out of memory. I also never had the problem until I used your autoexec- and never had the problem after I stopped.All that cvar does is tell Garry's Mod it can use up to that much RAM. It will never actually use that much because its a 32-bit program. That's not your problem. If you think the autoexec is the problem, copy and paste it elsewhere to save it, then delete the copy in your cfgs. See if that fixes it. My bet is it won't.
I mean, it is the problem- because as soon as I changed Autoexecs, Gmod stopped causing my computer to run out of memory. I also never had the problem until I used your autoexec- and never had the problem after I stopped.
while it does cause my game to run much better on CW, removing a lot of the stuttering, it also causes some sort of insane memory leak that is guaranteed to crash the game within a couple of hours.
:grinning:
r_threaded_particles 1
r_threaded_renderables 1
r_queued_ropes 1
r_threaded_client_shadow_manager 1
mem_max_heapsize "8192"
threadpool_affinity "8"
snd_mix_async 1
in_usekeyboardsampletime 1
ai_expression_optimization 1
cl_threaded_client_leaf_system 1
cl_threaded_bone_setup 1
cl_smooth 0
cl_wpn_sway_interp 0
mat_dxlevel 95
mat_specular 0
mat_compressedtextures 0
I don't use mods.An auto-exec can't cause a memory leak. A memory leak occurs when an object is stored in memory but can't be accessed, autoexec is just plain text commands setting values or turning something on or off that extends what you can do in your options menu. It is either the engine or a mod causing the problem.
That being said, try removing these commands:
Code:r_threaded_particles 1 r_threaded_renderables 1 r_queued_ropes 1 r_threaded_client_shadow_manager 1 mem_max_heapsize "8192" threadpool_affinity "8" snd_mix_async 1 in_usekeyboardsampletime 1 ai_expression_optimization 1 cl_threaded_client_leaf_system 1 cl_threaded_bone_setup 1 cl_smooth 0 cl_wpn_sway_interp 0
If that doesn't work, also remove
Code:mat_dxlevel 95 mat_specular 0 mat_compressedtextures 0
Disable any client-side mods.
It was added a few months ago
will these config change something in my game? any visual thing or? i don't want gmod to look like minecraft