Memory issues
#1

Hi,

It's possible to print that place in code, where is using more memory than normal? because if there is a lot of code, or some places where people have to use call some functions, to notice where is doing too much cikles, creating too much variables instance i don't know something very fast and taking memory that couse server crash or smth.
Reply
#2

Well if you have problems with memory and lags you should check OnPlayerUpdate. If you have big codes there delete them and make timers for those..
Reply
#3

No i have no problems with lagg or memory, hmm how to say no problem my gamemode is bigg, like if you created gamemode where is a lot of things, for a lot of players still a lot of variables, queries, some stuff in onplayerupdate, but i also use timers, onplayerupdate just important stuff. But you know when there is a lot of code, someplace hard to notice maybe there is someplace where players write command, and there take a lot of memory in some ways or situations. Just there will by good plugin or include that notice in what code place, command timer, in short of time using a lot of memory, because how i mention sometimes hard to think because maybe there is just situation have to happin and there is bugg, mistake that use more memory than usually.
Reply
#4

Well i am not sure does something like that exist but maybe other guys know. Second, you said you have lag. Have you searched maps? They can also cause big lag if they are textured. And when the lag is happening?? On certain place? On command? When?
Reply
#5

It's not lagg just my server get off.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)