SA-MP Forums Archive
I need some help with this! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need some help with this! (/showthread.php?tid=162703)



I need some help with this! - Hidden - 24.07.2010

Okay so i want to know why my server is lagging as hell when im hosting it on my own computer and im the only one on it ( My test server)

So i was thinking, And i realized its from my script...

Okay i just want to know one thing...

i have this when i compile


Quote:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 9616 bytes
Code size: 1565256 bytes
Data size: 9487976 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4466 cells (17864 bytes)
Total requirements:11079232 bytes

How do i remove this part:

Quote:

Header size: 9616 bytes
Code size: 1565256 bytes
Data size: 9487976 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4466 cells (17864 bytes)
Total requirements:11079232 bytes

And make it say this only:

Quote:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase




Re: I need some help with this! - Jochemd - 24.07.2010

Lower your memoy values. You are above 10000 (I thought it was that). Try lowering things like
pawn Код:
string[256]
to
pawn Код:
string[100]



Re: I need some help with this! - Hidden - 24.07.2010

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Lower your memoy values. You are above 10000 (I thought it was that). Try lowering things like
pawn Код:
string[256]
Hmmm i'll try that now, But the thing is, It's a god damn massive big script iv been working on for around a year now..

EDIT: So i used the replace tool and i still came out with the same outcome..

Quote:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 9616 bytes
Code size: 1565256 bytes
Data size: 9487976 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4310 cells (17240 bytes)
Total requirements:11079232 bytes




Re: I need some help with this! - Jochemd - 24.07.2010

Then you still have to much memory in use with several things.


Re: I need some help with this! - Hidden - 24.07.2010

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Then you still have to much memory in use with several things.
Okay thanks for the help, I'll try fixing it later.