[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes)
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables |
Date: |
Wed, 22 Mar 2017 14:13:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #5, bug #50603 (project octave):
OK, I see that. It's the code near this comment:
// destLen must be at least 0.1% larger than source buffer
// + 12 bytes. Reality is it must be larger again than that.
you are referring to.
Is the compress() function originating from zlib.h? If so, zlib
http://www.zlib.net/manual.html
categorizes this function as a utility:
"The following utility functions are implemented on top of the basic
stream-oriented functions. To simplify the interface, some default options are
assumed (compression level and memory usage, standard memory allocation
functions)."
Maybe the "basic stream-oriented functions" have a small memory footprint.
Making a change (and testing) might be a bit to tackle at the moment. Well,
definitely not a change to make shortly before a release.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50603>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, anonymous, 2017/03/21
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, Dan Sebald, 2017/03/21
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, Rik, 2017/03/22
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, Dan Sebald, 2017/03/22
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, Rik, 2017/03/22
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables,
Dan Sebald <=
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, Dan Sebald, 2017/03/22
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, Rik, 2017/03/22
- [Octave-bug-tracker] [bug #50603] save -mat fails for large (# of bytes) variables, David Nichols, 2017/03/22
- [Octave-bug-tracker] [bug #50603] Document limitations of various file formats available for save(), Rik, 2017/03/22
- [Octave-bug-tracker] [bug #50603] Document limitations of various file formats available for save(), Dan Sebald, 2017/03/23