#pragma dynamic
#5

Are you returning strings up to 5 megabytes in size?

You gotta optimize your code in that case, not increase the #pragma dynamic.
Most scripts don't use it, as the default stack is big enough in most cases (like 99% of all possible cases).
Even big scripts which have over 50k lines don't need to adjust this value.

I also got some messages from heap/stack size in the beginning, but that was because I created big arrays inside functions.
Moving those big arrays to the main script (outside any function) got rid of those messages.
Reply


Messages In This Thread
#pragma dynamic - by Banditukas - 20.12.2014, 11:34
Re: #pragma dynamic - by Vince - 20.12.2014, 11:45
Re: #pragma dynamic - by Banditukas - 20.12.2014, 12:16
Re: #pragma dynamic - by Ryz - 20.12.2014, 14:41
Re: #pragma dynamic - by PowerPC603 - 20.12.2014, 18:05
Re: #pragma dynamic - by Banditukas - 20.12.2014, 21:27
Re: #pragma dynamic - by Pottus - 20.12.2014, 22:13
Re: #pragma dynamic - by MafiaOink - 23.07.2018, 06:44

Forum Jump:


Users browsing this thread: 3 Guest(s)