garrysmod-issues
garrysmod-issues copied to clipboard
Model precache limit crash
So, if you spawn more than 1024 different models in one game session, the server crashes. This makes running any server that allows players to spawn props impossible without a model whitelist. The server will crash in about a day when it hits the limit.
You asked what size should it be increased to, but you never replied. It would be a good idea to increase it to at least 4096, so servers could run without crashing from the precache limit for something close to a week.
TF2 added something called dynamic models.. which should solve this problem. I will look into it.
+1, having this limit removed (or raised) would be extremely helpful.
Is this still a thing?
I believe the cache might have been raised, but I'm not 100% on that
Can the cache list please be converted to an LFU cache at least so people don't crash?
@Kefta
Related: https://github.com/Facepunch/garrysmod-requests/issues/2119
It's time to add the ability to manually change the value
Related: Facepunch/garrysmod-requests#2119
Nice you raised it to 8192 as you told in above issue. I guess you can close this issue as duplicate?