Re: [Scilab-users] ?==?utf-8?q? scilab 6.1 crashes when trying to load big matfile (loadmatfile)

2020-06-19 Thread Antoine Monmayrant
Le Vendredi, Juin 19, 2020 15:59 CEST, Rafael Guerra a écrit: > Script runs fine on Win10, Scilab 6.1, 64 GB RAM. > But btw, the file a28.mat seems to have only 342MB. I suspect that it does work fine with 64GB of ram: that's how I managed to work around my initial problem. This script

Re: [Scilab-users] ?==?utf-8?q? Plotting a New Xpoly Directly Inside a Compound

2020-06-19 Thread Antoine Monmayrant
> Again, it is not clear why you just do not fuse all data together into one > matrix and use plot2d() to plot all data at once. >From my own experience, this might be the case when you want to track the >progression of a lengthy calculation: you periodically add the new data on top >of the

Re: [Scilab-users] scilab 6.1 crashes when trying to load big matfile (loadmatfile)

2020-06-19 Thread Rafael Guerra
Script runs fine on Win10, Scilab 6.1, 64 GB RAM. But btw, the file a28.mat seems to have only 342MB. -Original Message- From: users On Behalf Of Stéphane Mottelet Sent: Friday, June 19, 2020 10:15 AM To: users@lists.scilab.org Subject: Re: [Scilab-users] scilab 6.1 crashes when trying

Re: [Scilab-users] Plotting a New Xpoly Directly Inside a Compound

2020-06-19 Thread P M
Hallo Robert, If you use xpoly() it means you know your data before you plot it? --> I mean: you do not click in the figure to get the coordinates --> Why not plot all data at once? E.g.: Can you not plot all polylines in one single plot2d command? If you can't, you may try following

Re: [Scilab-users] {EXT} Re: scilab 6.1 crashes when trying to load big matfile (loadmatfile)

2020-06-19 Thread Dang Ngoc Chan, Christophe
Hello, > De : De la part de Antoine Monmayrant > Envoyé : vendredi 19 juin 2020 08:58 > > Here is a small script that systematically crashes scilab on my machine: It works fine for me, no crash. Windows 7, RAM 16 GB, 12.9 GB used at peak. [a, b] = getdebuginfo() a = "Memory in use: 39

Re: [Scilab-users] scilab 6.1 crashes when trying to load big matfile (loadmatfile)

2020-06-19 Thread Stéphane Mottelet
it's the loadmatfile that crashes (here on Scilab-branch-6.1 under OSX, with 16Gb ram)   "savematfile('a28.mat','a28');" scilab-cli-bin(3310,0x115f1f5c0) malloc: can't allocate region *** mach_vm_map(size=18446744071562067968) failed (error code=3) scilab-cli-bin(3310,0x115f1f5c0) malloc: ***

Re: [Scilab-users] scilab 6.1 crashes when trying to load big matfile (loadmatfile)

2020-06-19 Thread Antoine Monmayrant
Hello all, Here is a small script that systematically crashes scilab on my machine: // on my machine with 8Gb or ram and usual workload, n=28 crashes scilab n=[24,26,28]; for i=n     disp(' '+string(i)+' ');    

Re: [Scilab-users] scilab 6.1 crashes when trying to load big matfile (loadmatfile)

2020-06-19 Thread Stéphane Mottelet
I tried to generate such kind of data file with the following Matlab script: c1=fillcell(); c2=fillcell(); c3=fillcell(); save("c.mat","-v7.3","c1","c2","c3") function c = fillcell()     c={};     for j=1:11     c{j}=rand(711,711,33);     end end The c.mat file is 4.18GB and I managed to