Server is lagging my computer. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server is lagging my computer. (
/showthread.php?tid=192408)
Server is lagging my computer. -
[NWA]Hannes - 22.11.2010
Please help me, my server laggs my computer lots, It has like 400 000 kb use when i check the process
This laggs my computer really bad, is there anything that could make my server lagg less?
Or is it my streamer? I got like 10k objects on my server and it takes loads of time to compile my scripts now.
Please help, i cant even view video on *******
Re: Server is lagging my computer. -
Scenario - 22.11.2010
You probably have horrible computer specs, so the server is taking all of your RAM and some CPU processing power. If you are home hosting, you should think about going to a professional host.
Re: Server is lagging my computer. -
[NWA]Hannes - 22.11.2010
Cant i change my script or something to make it go smoother?
Re: Server is lagging my computer. -
Scenario - 22.11.2010
You could remove a lot of those objects and I'm sure you have horrible coding methods, like most people so you could fix those.
Re: Server is lagging my computer. -
[NWA]Hannes - 22.11.2010
I listened to ****** about using extra long strings and redefining max_players, and i dont code that bad actually :P
Re: Server is lagging my computer. -
Mauzen - 22.11.2010
The objects are only part of the problem. All of them might take max 1mb ram, not 400
Do you have any big arrays in your script or in any fs/include?
You could also try to run the pawncc compiler with the -d2 parameter, it will give you more info about the memory usage, but you will have to do this via the console, pawno does not support additional parameters.