Loading objects lags
#4

The SA-MP server is single threaded and can only do one thing at a time. If it's processing a file it can't handle chats, commands, timers, updates, ... anything really. Loading from disk is inherently and notoriously slow and should probably be avoided as much as possible.

Split it up in chunks of 500 objects or something if at all possible, or use an entirely different system that doesn't rely on files. A database might be somewhat faster, but 10,000 objects is still a lot.
Reply


Messages In This Thread
Loading objects lags - by Eden3z - 27.07.2016, 21:00
Re: Loading objects lags - by Eden3z - 29.07.2016, 11:30
Re: Loading objects lags - by Eden3z - 29.07.2016, 19:29
Re: Loading objects lags - by Vince - 29.07.2016, 19:47
Re: Loading objects lags - by Logic_ - 29.07.2016, 19:48
Re: Loading objects lags - by Eden3z - 29.07.2016, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)