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

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

[Octave-bug-tracker] [bug #40357] OOM when converting from sparse double


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #40357] OOM when converting from sparse double to sparse logical
Date: Thu, 11 Nov 2021 16:29:13 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #40357 (project octave):

                  Status:               Confirmed => Need Info              

    _______________________________________________________

Follow-up Comment #3:

behavior is still present in Octave 6.4.0.  not certain if it's a duplicate,
if internally it's the indexing causing the the 'full' expansion and OOM
event, or if it's something else regarding the type change. Note that changing
y to also be logical, then:


x = logical(sparse(100000,100000));
y = logical(sparse(100000,100000));
i = full(logical(sprand(100000,1,0.3)));
x(i,:) = y(i,:); 


results in no memory issues. (although perhaps octave is just being efficient
resulting in it sidestepping an indexing problem when the types are the
same?).  perhaps there's a better test to determine if this is a duplicate of
the indexing issue, or something else.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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