• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Compile stack size
#1
I would like to understand what that means, it is appearing outside the -d3 compilation parameters.

As far as I know, it shouldn't happen.

Pawn compiler 3.10.10 Copyright © 1997-2006, ITB CompuPhase

Header size: 58400 bytes
Code size: 5920252 bytes
Data size: 25992156 bytes
Stack/heap size: 16384 bytes; estimated max. usage=130285 cells (521140 bytes)
Total requirements:31987192 bytes

[Finished in 7.2s]

In my gamemode, I use a lot of 2d / 3d arrays, the size of the .amx is 26MB.

Does this affect server performance? Causes shutdown?
  Reply
#2
Did you revert to an older YSI version and see what happens when you compile?
  Reply
#3
It compiles normal, the problem is not the YSI version, but the stack of my gamemode that looks like I am using more cells than it was to use.



My question is to understand what it means what I wrote in the topic, stack size
  Reply
#4
(2021-03-17, 11:39 AM)Paulthas01 Wrote: This happened after I put the updated YSI from Y_Less.



(2021-03-17, 01:11 PM)Paulthas01 Wrote: It compiles normal, the problem is not the YSI version



Then why did you mention YSI assuming it was the problem when it had nothing to do with your problem ...?



26MB for an .amx file is not normal. And you already said yourself what is the problem. Your arrays.



And when you expect people to help you, you need to show something with which they can work with (in this situation is code). Can someone fix a car without having a look at it? We are not magicians or mind readers and can not get inside your head and see the code you see. At least show one of the bigger arrays and tell how you want to use them.
  Reply
#5
I agree that the problem is my matrices, I only mentioned YSI because before updating it, when compiling without the -d3 parameter it did not show the stack size information.



My doubt is what this means:



Pawn compiler 3.10.10 Copyright ? 1997-2006, ITB CompuPhase



Header size: 58400 bytes

Code size: 5920252 bytes

Data size: 25992156 bytes

Stack / heap size: 16384 bytes; estimated max. usage = 130285 cells (521140 bytes)

Total requirements: 31987192 bytes



[Finished in 7.2s]
  Reply
#6
https://letmegooglethat.com/?q=pawno犉ꦊ垫殺꭪枭窻
  Reply
#7
Does this current stack size cause gamemode to shutdown or crash?
  Reply
#8
(2021-03-17, 01:32 PM)Paulthas01 Wrote: when compiling without the -d3 parameter it did not show the stack size information.



Or, to put it another way:



Quote:when I enable more information I get more information



You are seeing this message because you explicitly asked for this message by enabling `-d3`.
  Reply
#9
I am seeing the message even without enabling the -d3 parameter.

I would like to understand what this message means exactly because I still don't know 100% and how I can solve it.

The size of my .amx is 26MB so I find it very strange
  Reply
#10
the message is showing you header, code, data stack/heap size thats what it means and 26mb isnt strange if your gamemode is 26mb
  Reply
#11
It is this size because I use a lot of 2D / 3D arrays, my question is not why it is this size.



My question is what does the message that actually appears mean?



- Is there something wrong with the game mode?

- Am I using more cells than allowed?

- Does this cause some kind of server crash or shutdown?



Those are my doubts



NOTE: This message appears even without enabling the -d3 parameter at the time of compilation.
  Reply
#12
No, the message is a message. It is information. A message can't cause your mode to crash.
  Reply
#13
(2021-03-18, 05:24 PM)Y_Less Wrote: No, the message is a message. It is information. A message can't cause your mode to crash.



As I understand it, Y_Less, I'm using more memory than I should...

I'm is what I'm asking if it causes any crashes.



If I got it wrong, could you explain it to me?
  Reply
#14
The problem is probably loads of local arrays. But again, this message isn't a warning, it's just a report.
  Reply
#15
(2021-03-18, 08:57 PM)Y_Less Wrote: The problem is probably loads of local arrays. But again, this message isn't a warning, it's just a report.



Can this cause any future problems?
  Reply


Forum Jump: