bugGNU Octave - Bugs: bug #42425, find fails with OOM on large...


bug #42425: find fails with OOM on large diagonal matrices

Submitter:  David Spies <dspyz>
Submitted:  Sun 25 May 2014 11:12:48 PM UTC
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 15 Dec 2016 04:14:04 PM UTC, comment #2: 

This issue is still present in Octave 4.2.0.

The sample code line from comment #0 still gives an out of memory error.

Hartmut <hardy>
Sun 25 May 2014 11:18:33 PM UTC, comment #1: 

This and bug 42424 are both fixed by calling find with a comprehensive dispatch function that handles all the types in the same way. Here's my patch (18794 at https://dspyz@bitbucket.org/dspyz/octave on top of 18791-18793 in my previous two bugfixes).

(file #31439)

David Spies <dspyz>
Sun 25 May 2014 11:12:48 PM UTC, original submission:  

octave:1> [i,j] = find(eye(1000000));
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:

Attached Files
file #31439:  dispatch.diff added by dspyz (16KiB - text/x-patch)


Depends on the following items: None found

   bug dependencies.


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-25 rik5 Dependencies- bugs #46533 is dependent
    2014-05-25 dspyz Attached File- Added dispatch.diff, #31439

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code