26.02.2017, 12:55
Hi, actually I didn't know what to call the thread, but I had to use pragma dynamic like two days ago after adding a few hundreds lines of code because some things stopped working and this appeared after compiling:
So I started thinking of optimizing my code, but I don't know what could cause that stuff. I heard it's caused by some large arrays, but I always get a proper size for local arrays so I don't think it could be the problem. But I have some bigger global arrays (I think they are big) like
but I can't remove them. Anyways what could the reasons be? I tried googling and looking at the optimization tutorials as well.
Код:
Header size: 12368 bytes Code size: 741164 bytes Data size: 11006392 bytes Stack/heap size: 16384 bytes; estimated max. usage=4924 cells (19696 bytes) Total requirements:11776308 bytes
Код:
new Injuries[MAX_PLAYERS][39][MAX_BODY_PARTS];