[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62459] Severe memory leak when functions are
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested |
Date: |
Mon, 16 May 2022 09:06:19 -0400 (EDT) |
Follow-up Comment #2, bug #62459 (project octave):
Was able to quantify it by changing the f(rand(1000)) to other sizes.
For passing a matrix of M bytes to the function f, it leaks 3M bytes + about
500 KB for each call to f().
Thus if the argument to f() is rand(1000) which is 8,000,000 bytes, then it
loses just over 24,567,000 bytes per call, Three local copies being made and
not being released when the function goes out of scope?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62459>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, PIERRE LABRECHE, 2022/05/14
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Arun Giridhar, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested,
Arun Giridhar <=
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Arun Giridhar, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Rik, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Rik, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Rik, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Rik, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Rik, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Arun Giridhar, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Arun Giridhar, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, Arun Giridhar, 2022/05/17
- [Octave-bug-tracker] [bug #62459] Severe memory leak when functions are nested, John W. Eaton, 2022/05/17