bugGNU Octave - Bugs: bug #32804, Memory leak solving linear system...

 
 

bug #32804: Memory leak solving linear system (left division "\") with sparse matrix

Submitted by:  Paolo G. Ferrandi <paolo>
Submitted on:  Wed 16 Mar 2011 11:31:51 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating 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 01 Apr 2011 09:46:28 AM UTC, comment #3:

Patched in changeset 681bb733f4f4:

http://hg.savannah.gnu.org/hgweb/octave/rev/681bb733f4f4

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Wed 16 Mar 2011 02:21:51 PM UTC, comment #2:

Thanks for the report. I can confirm it as well. I thought it might be related to #32767, but the memory leaks seems to be specifically in the backslash operator code. Since I've been recently looking at the sparse matrix code, I feel ready to tackle this one. I will keep you posted with any progress I make on squashing this bug.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Wed 16 Mar 2011 12:21:33 PM UTC, comment #1:

I can confirm this behaviour with both the 3.4 and default branches in the development sources.
c.

Carlo de Falco <cdf>
Project Member
Wed 16 Mar 2011 11:31:51 AM UTC, original submission:

A massive memory allocation is caused by the following code. The allocated memory is never freed until you quit GNU Octave.

lu returns L as a permuted-lower sparse matrix. Since L is a lower matrix, you can change matrix type to lower:

In the latter case there is not any massive memory allocation and everything seems to be fine.

Paolo

Paolo G. Ferrandi <paolo>

 

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

Attach File(s):
   
   
Comment:
   

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 jordigh (Posted a comment)
  • -unavailable- added by cdf (Posted a comment)
  • -unavailable- added by paolo (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Apr 2011 09:46:28 AM UTCjordighStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      SummaryMemory leak solving linear system (left division "\\") with sparse matrix=>Memory leak solving linear system (left division "\") with sparse matrix
    Wed 16 Mar 2011 02:21:51 PM UTCjordighStatusNone=>Confirmed
      Assigned toNone=>jordigh
      Release3.2.4=>3.4.0
      SummaryMemory leak solving linear system (left division "\\") with sparse matrix=>Memory leak solving linear system (left division "\") with sparse matrix

    Back to the top


    Powered by Savane 3.1-cleanup1