[scilab-Users] Scilab Query: Related to stacksize

Antoine Monmayrant antoine.monmayrant at laas.fr
Fri Nov 18 13:32:08 CET 2011


Le 18/11/2011 11:10, Nirav Thakkar a écrit :
> Hi ,
>
> Good evening. I am a Scilab user and need help.
>
> I am using, y = grand(10^6,90,'nor,0,1) to generate 90 columns and 1
> million rows of normal distributed Random variables with mean =0 and std=1.
>
> But I am getting following error: O=grand(10^6,90,'nor',0,1);
>                                                !--error 17
>                                              Rand: stack size exceeded (Use
> stacksize function to increase it).
>
> I used stacksize('max') but its not solving the problem.
>
> Please help me in this regard. Thanks
>
> Nirav B Thakkar
> India
>
How much RAM do you have on your computer?
On mine, I need to crank up stacksize to 1e8 to calculate O, which eats 
up almost 1GB of RAM!
You may not have enough RAM...

Antoine




More information about the users mailing list