Compiler suddenly shows size requirements
#1

Hello, Since I added some data arrays to my code, it suddenly showed this in the compiler:
Код:
Header size:           8924 bytes
Code size:           919204 bytes
Data size:          4511384 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5214 cells (20856 bytes)
Total requirements: 5455896 bytes
I see this isn't a problem, but why is it suddenly here, and what does it exactly mean?

Thanks in advance!
Reply
#2

Quote:
Originally Posted by ikkentim
Посмотреть сообщение
Hello, Since I added some data arrays to my code, it suddenly showed this in the compiler:
Код:
Header size:           8924 bytes
Code size:           919204 bytes
Data size:          4511384 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5214 cells (20856 bytes)
Total requirements: 5455896 bytes
I see this isn't a problem, but why is it suddenly here, and what does it exactly mean?

Thanks in advance!
You are using a lot of unneeded cells, change the value of strings and other.
Reply
#3

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
You are using a lot of unneeded cells, change the value of strings and other.
Edit:None of them are unused.
Reply
#4

Well I have this too sometimes, and I fix it by setting all the big cells (strings) at the top of the gamemode.
So when you have a function that needs string[2048];
I don't put this at the top of the function, but I put this at the top of the gamemode.
Don't know if it change anything, but the annoying messages are gone.
Reply
#5

Your script or Gamemode is getting higher..for your PC.
That is why this comes.
Reply
#6

Increase stack size with #pragma dynamic and it should be gone
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)