[scilab-Users] [scilab-users] stack size
Gary Nelson
gnelson at quantasonics.com
Tue Apr 27 22:03:09 CEST 2010
stacksize(max) continues to say 5e6. I tried stacksize(1e8) and my routines ran once and crashed on second attempt.
I ithen inserted stacksize(5e7) and all is well and larger data sets work.
Should this be reported as a bug given that it causes a crash?
Thanks
Gary Nelson
On Apr 27, 2010, at 9:52 AM, Andreas F. Dvorak wrote:
> Dear Gary,
>
> try stacksize('max') with all other programs closed. Since Scilab 5.2.2 stacksize('max') works fine on my MacBook Pro with also 4GB. If u use an older version then update.
>
> -->stacksize('max')
>
> -->stacksize()
> ans =
>
> 1.750D+08 32936.
>
> Andreas
>
>
>
> Am 27.04.2010 um 03:18 schrieb Gary Nelson:
>
>> I am developing a signal analysis package and have a prototype working on small segments of data. When I tried to apply the routines to a large data file, I got a stack overflow error.
>> I inserted stacksize(max) and find that the largest stack is as follows:
>>
>> -->stacksize()
>> ans =
>>
>> 5000000. 76970.
>>
>> I am running this on a MacBookPro with 4GB of ram. Is there any way to increase the stack beyond the apparent limits?
>>
>> Is there some other better way to deal with this?
>>
>>
>>
>> Gary Nelson
>> gnelson at quantasonics.com
>>
>>
>>
>
>
>
>
Gary Nelson
gnelson at quantasonics.com
More information about the users
mailing list