Server - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server (
/showthread.php?tid=432941)
Server -
Ryan_Obeles - 25.04.2013
so i have a sqlite (BUD) server but its making me lag but after slice helped me i noticed that the server is using too much of my memory.... any ideas on how i can lessen usage??
Re: Server -
verlaj - 25.04.2013
Use SetTimer(" ", 1000, true); rather than using the OnPlayerUpdate. on player update makes huge lag and do excessive use of your memory.
https://sampwiki.blast.hk/wiki/SetTimer
Re: Server -
Ryan_Obeles - 25.04.2013
other ways
![Huh?](images/smilies/confused.gif)
i did that already and i am also using jit compiler
Re: Server -
verlaj - 25.04.2013
hmm check your script files then. there are some script files which actually cause lag