bugGNU Octave - Bugs: bug #55905, ode15{i,s} allocate enough memory...


bug #55905: ode15{i,s} allocate enough memory for a full jacobian when the provided jacobian is sparse

Submitted by:  Carlo de Falco <cdf>
Submitted on:  Wed 13 Mar 2019 08:32:38 AM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  In Progress Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 13 Mar 2019 08:32:38 AM UTC, original submission:  

The memory allocation for the sparse jacobian
is done in an overly safe way here

The memory is allocated as if the jacobian was full.

It would be more memory efficient to check the actual size of the needed memory before doing the allocation.

I have already added a FIXME comment in the code, I am posting this here as well in order not to forget.

Carlo de Falco <cdf>
Project Member


(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 cdf (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.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5