garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

Model precache limit crash

Open tomasas opened this issue 12 years ago • 8 comments

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.

tomasas avatar Jun 07 '13 10:06 tomasas

TF2 added something called dynamic models.. which should solve this problem. I will look into it.

garrynewman avatar Jun 07 '13 11:06 garrynewman

+1, having this limit removed (or raised) would be extremely helpful.

sirsavary avatar Jun 08 '15 22:06 sirsavary

Is this still a thing?

mcNuggets1 avatar May 05 '17 14:05 mcNuggets1

I believe the cache might have been raised, but I'm not 100% on that

Kefta avatar May 05 '17 14:05 Kefta

Can the cache list please be converted to an LFU cache at least so people don't crash?

Kefta avatar Aug 13 '17 03:08 Kefta

@Kefta

NathanX-S avatar Dec 15 '20 17:12 NathanX-S

Related: https://github.com/Facepunch/garrysmod-requests/issues/2119

robotboy655 avatar Mar 25 '24 20:03 robotboy655

It's time to add the ability to manually change the value

Arfench avatar Apr 22 '24 00:04 Arfench

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?

Grocel avatar Oct 26 '24 18:10 Grocel