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
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: ***
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)+' ');
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
Hello Antoine,
I made a 4Gb file with Matlab:
>> a=rand(645,645,645);
>> b=rand(645,645,645);
>> c={a,b};
>> save("c.mat","-7.3","c")
and managed to load it successfully in Scilab:
--> loadmatfile("c.mat");
--> c
c =
[645x645x645 constant] [645x645x645 constant]
Maybe the structure I
On 17/06/2020 13:51, Stéphane Mottelet wrote:
Hello Antoine,
Did you to save a single "hypermatrix in a cell" in matlab and then
load in Scilab ?
No, just the hypermatrix, not a cell containing only one hypermatrix.
S.
Le 17/06/2020 à 13:22, Antoine Monmayrant a écrit :
Hello All,
I
> -Original Message-
> From: users On Behalf Of Stéphane Mottelet
> Sent: Wednesday, June 17, 2020 1:52 PM
> To: users@lists.scilab.org
> Subject: Re: [Scilab-users] scilab 6.1 crashes when trying to load big matfile
> (loadmatfile)
>
> Hello Antoine,
>
Hello Antoine,
Did you to save a single "hypermatrix in a cell" in matlab and then load
in Scilab ?
S.
Le 17/06/2020 à 13:22, Antoine Monmayrant a écrit :
Hello All,
I cannot open large matfile in scilab (~3.4Gb).
Scilab is always dying with an error message that is extremely
instructive:
Hello All,
I cannot open large matfile in scilab (~3.4Gb).
Scilab is always dying with an error message that is extremely
instructive: "Killed".
It's a bit cumbersome to share this big fie, so do you have any idea on
how to investigate this issue and try to locate the root cause?
As a side