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

 
 

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

Submitted by:  David Spies <dspyz>
Submitted on:  Sun 25 May 2014 11:12:48 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Nov 2015 08:00:35 PM UTCrik5Dependencies-=>bugs #46533 is dependent
    Sun 25 May 2014 11:18:33 PM UTCdspyzAttached File-=>Added dispatch.diff, #31439

    Back to the top


    Powered by Savane 3.1-cleanup1