Hello, I used [free, total]=getmemory() before and after each plot and there is still some memory left after the last plot.
I'm not sure this is related because I learned some years ago that for plotting with a lot of data it is important to increase the Java Heap Memory. If I understand correctly the memory I display with the command above is the internal SCILAB memory. Not related to the plotting issue. It seems I'm somehow locked because I cannot increase the Java Heap Memory because of the problem you mentioned! Will this issue be solved in the 5.5 version? Wolfgang > -----Ursprüngliche Nachricht----- > Von: users [mailto:users-boun...@lists.scilab.org] Im Auftrag von Samuel > Gougeon > Gesendet: Montag, 04. November 2013 17:35 > An: International users mailing list for Scilab. > Betreff: Re: [Scilab-users] Scilab problem? > > 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 > _______________________________________________ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users