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 FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Jan 2014 07:13:11 PM UTCmtmillerStatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1