about a question YSI and ' estimated max. usage: unknown, due to recursion' - 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)
+--- Thread: about a question YSI and ' estimated max. usage: unknown, due to recursion' (
/showthread.php?tid=651251)
about a question YSI and ' estimated max. usage: unknown, due to recursion' -
RedGun2015 - 16.03.2018
So I use YSI and I get this message when I compile my GM with -d3
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 28744 bytes
Code size: 3070644 bytes
Data size: 26734120 bytes
Stack/heap size: 17039360 bytes; estimated max. usage: unknown, due to recursion
Total requirements:46872868 bytes
[Finished in 40.9s]
I know is not a problem, but I see others that are using YSI and when they compile his GM, they don't receive a message like
Код:
estimated max. usage: unknown, due to recursion
Any ideas how they did it or how they solved his problem?
Re: about a question YSI and ' estimated max. usage: unknown, due to recursion' -
jasperschellekens - 16.03.2018
This is an optimization issue.
You will have to optimize your gamemode.
Adding this:
Код:
#pragma dynamic 27452508
Will hide, NOT solve the warning. Using the code above will simply increase the stack but will NOT optimize anything.
Re: about a question YSI and ' estimated max. usage: unknown, due to recursion' -
MadeMan - 17.03.2018
Quote:
Originally Posted by RedGun2015
how they solved his problem?
|
Quote:
Originally Posted by RedGun2015
I know is not a problem
|
Recursion occurs when a function calls itself. For example:
Re: about a question YSI and ' estimated max. usage: unknown, due to recursion' -
RedGun2015 - 19.05.2018
Quote:
Originally Posted by MadeMan
Recursion occurs when a function calls itself. For example:
|
Yea, I know that, but I deleted everything and left only the YSI includes, and still happend. I have seen others, using YSI and have no problem, they don't receive the message..
Re: about a question YSI and ' estimated max. usage: unknown, due to recursion' -
RedGun2015 - 08.06.2018
Fixed. I changed the compilator and now this message doesn't show again

.
Re: about a question YSI and ' estimated max. usage: unknown, due to recursion' -
Dayrion - 08.06.2018
Quote:
Originally Posted by RedGun2015
Fixed. I changed the compilator and now this message doesn't show again  .
|
Quote:
Originally Posted by ******
This isn't a problem, its just an information message.
|
....