octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55427] save -v7 exits with "error compressing data element"
Date: Thu, 10 Jan 2019 16:44:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #6, bug #55427 (project octave):

Thanks Mike, that does work on Windows. But it is terribly slow;
on Linux:

>> x = rand (1e5, 1e3);
>> tic; save -v6 foo6.mat; toc
Elapsed time is 0.58468 seconds.
>> tic; save -v7 foo7.mat; toc
Elapsed time is 33.2968 seconds.
>> tic; save -z fooz.mat; toc
Elapsed time is 209.423 seconds.
>>


I tried to read the resulting file in Matlab (r2019a prerelease) but that
doesn't work - on Windows, Matlab just hangs forever with CPU usage < 1 %. On
linux, I get this:

>> load('foo6.mat')
>> tic; load foo6.mat; toc
Elapsed time is 0.313205 seconds.
>> tic; load foo7.mat; toc
Elapsed time is 4.665843 seconds.
>> tic; load fooz.mat; toc
Error using load
Unable to read MAT-file /home/philip/fooz.mat. Not a binary MAT-file. Try load
-ASCII to read as
text.
 
>> 


.. so -z is not a good option as far as Matlab compatiility is concerned.

Can something be done about the internal memory allocation you mentioned? On
Linux it seems to be configured differently.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55427>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]