Stack/heap size: estimated max. (error :l)
#1

Код:
Stack/heap size:   16384 bytes; estimated max. usage=5878 cells (23512 bytes)
I get this when I compile
I guess this means that I want to use more of stack memory than available...

how can I fix this?
Reply
#2

Read this and this
Reply
#3

thanks

I had to use #pragma dynamic value
as solution, because I couldn't decrease the amount of stack memory I use
it's not high because I'm creating my strings with too many cells (I use just as many cells as necessary)
but I just have too many arrays

so.. this was the only solution
it worked now ^^ no stack warning any more
Reply
#4

I had same problem , with this

stock strvalEx(const string[])
{
if(strlen(string) >= 50) return 0;
return strvalEx(string);
}
Reply
#5

Quote:
Originally Posted by Angel φ
I had same problem , with this

stock strvalEx(const string[])
{
if(strlen(string) >= 50) return 0;
return strvalEx(string);
}
well yea, that's because you created an unendless loop
Reply
#6

use enums insted
Reply
#7

Quote:
Originally Posted by dice7
use enums insted
they don't use stack memory?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)