bugGNU Octave - Bugs: bug #40357, OOM when converting from sparse...


bug #40357: OOM when converting from sparse double to sparse logical

Submitted by:  David Spies <dspyz>
Submitted on:  Wed 23 Oct 2013 06:43:22 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 25 Nov 2016 09:46:40 PM UTC, comment #2:

I think this might be a DUPLICATE of bug #40341 (Logical indexing into sparse matrices causes OOM).

It is also already mentioned as an open todo for the Octave sparse matrix implementation: http://wiki.octave.org/Projects#Sparse_Matrices (Sparse logical indexing...)

Hartmut <hardy>
Tue 22 Nov 2016 10:37:45 PM UTC, comment #1:

This behavior is still present in Octave 4.2.0.

Hartmut <hardy>
Wed 23 Oct 2013 06:43:22 PM UTC, original submission:

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

error: out of memory or dimension too large for Octave's index type

David Spies <dspyz>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by dspyz (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-19 mtmiller StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.3