[Scilab-users] Scilab problem?

Samuel Gougeon sgougeon at free.fr
Mon Nov 4 17:34:38 CET 2013


Hello,

Le 04/11/2013 17:12, SCHULZ Wolfgang a écrit :
> Hello,
> I'm using Scilab 5.4.1 on Win 7 64 bit and have a problem with the following script (simplified script).
>
> stacksize('max')
> Maximum=5e6;
> dt=1/Maximum;
> t=0:dt:1;
> y=sin(2*%pi*50*t);
> f0=scf(0);
> clf;
> plot(t,y);
> f1=scf(1);
> clf;
> plot(t,y);
> f2=scf(2);
> clf;
> plot(t,y);
>
> With the standard Java Heap Memory (256MB) the first and second plots are ok. Nothing is drawn in the third plot.
> I thought it may help to increase the Java Heap Memory.
You may use

[free, total]=getmemory()

before each plot in order to check the decrease of available memory
> If I increase the Java Heap Memory to 512 MB I get immediately the following error message on the console:
This bug has been reported here: http://bugzilla.scilab.org/12411 :
Critical error with stacksize("max") after increasing the Java heap memory

Samuel



More information about the users mailing list