[scilab-Users] [scilab-users] stack size

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Wed Apr 28 14:31:01 CEST 2010


----- Message d'origine -----
De : Sebastian Urban
Date : 27/04/2010 10:40:
> Dear Gary,
>
> I was running in the same problem and found that you can set higher
> stacksizes by giving a specific number, e.g. stacksize(2.8e8).
> You can try to find your max that way. If you bet too high, you'll
> receive an error notification immediately, no harm.
>   
Beter than betting, you can get the instantaneous available RAM by:
tmp=getdebuginfo(); tmp=tokens(tmp(3),":"); strtod(tmp(2))*1024

By the way, the total installed RAM is
tmp=getdebuginfo(); tmp=tokens(tmp(2),":"); strtod(tmp(2))*1024

So, you can now tune the stacksize in a well-informed way.

Cheers
Samuel




More information about the users mailing list