[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors |
Date: |
Mon, 13 Feb 2023 14:01:08 -0500 (EST) |
Follow-up Comment #27, bug #63791 (project octave):
@Nicholas: The error registers nearly instantaneously. When Octave asks the
operating system for a large chunk of memory, and the operating system says
no, then Octave stops immediately.
For example:
tic;
try
z = zeros (2^53,1);
end_try_catch
toc
Elapsed time is 0.0363941 seconds.
So, 36 milliseconds.
I suggested a general strategy for functions like mean() in one of the bug
reports and that suggestion was taken up by the author of the statistics
package. That used permute/do function/ipermute rather than for loops over
extra dimensions.
The case of movfun() is different because it creates data. For delaunayn, I
think a different solution is needed. The issue there seems to be that det()
operates only on dimensions 1&2 (area) and so you need a for loop over all the
possible planes. That really might require moving that bit of code to C++.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63791>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63791] movmean - out of memory or dimension too large for index type, (continued)
- [Octave-bug-tracker] [bug #63791] movmean - out of memory or dimension too large for index type, Liang Tang, 2023/02/12
- [Octave-bug-tracker] [bug #63791] movmean - out of memory or dimension too large for index type, Liang Tang, 2023/02/12
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Nicholas Jankowski, 2023/02/12
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Nicholas Jankowski, 2023/02/12
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Liang Tang, 2023/02/12
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/12
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Liang Tang, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Nicholas Jankowski, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Liang Tang, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors,
Rik <=
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Liang Tang, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Nicholas Jankowski, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/13
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/27
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, Rik, 2023/02/28
- [Octave-bug-tracker] [bug #63791] movfun - high intermediate memory use for moderate data input resulting in out of memory errors, John W. Eaton, 2023/02/28