Memory - 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: Memory (
/showthread.php?tid=116156)
Memory -
MJ! - 27.12.2009
-
Re: Memory -
M4S7ERMIND - 27.12.2009
******' topic '
Why you shouldn't make your strings 256 cells big' has some information about that.
CLICK ME!
Re: Memory -
MJ! - 27.12.2009
Don't worry , in 60k lines i got just maximum 8 variabiles with 256 cells and one with 1024 cells
Re: Memory -
M4S7ERMIND - 27.12.2009
That memory thing has something to do with cells. Your server will most definitely crash all the time, unless you fix it :3
Re: Memory -
dice7 - 27.12.2009
Why in gods name do you need an array with 1024 cells ?
Re: Memory -
MJ! - 06.04.2010
3D Big Text Label
Re: Memory -
FUNExtreme - 06.04.2010
Quote:
Originally Posted by Щә яә Ґя
Don't worry , in 60k lines i got just maximum 8 variabiles with 256 cells and one with 1024 cells 
|
Thats 8 times 128 cells wasted. Do the maths
Re: Memory -
Calgon - 06.04.2010
Quote:
Originally Posted by FUNExtreme
Quote:
Originally Posted by Щә яә Ґя
Don't worry , in 60k lines i got just maximum 8 variabiles with 256 cells and one with 1024 cells 
|
Thats 8 times 128 cells wasted. Do the maths
|
Sometimes strings have to be 256 cells long. If you read, he only has 8 strings that are the size of 256 cells.
However, the 1024 string sized cell is pretty much inefficient, you should consider fixing that.