[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65669] Cell array construction is memory-inte
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive |
Date: |
Sat, 4 May 2024 16:39:10 -0400 (EDT) |
Follow-up Comment #26, bug #65669 (group octave):
I'm glad that solution works out for you to make the OS show the freed memory.
There doesn't seem to be a direct equivalent of the C function malloc_trim in
C++17, so it cannot be added as is to Octave core itself, but your solution
will be available in this bug report.
If I understand, the reason only Cell types show this problem is because of
the construction of a large number of temp objects during cell array
construction that are freed correctly but the OS thinks it knows better. With
other data types, it's one big allocation, above the glibc threshold, so it
does get returned correctly.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65669>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, (continued)
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Arun Giridhar, 2024/05/02
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Nicholas Jankowski, 2024/05/02
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Henry Shu, 2024/05/02
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Arun Giridhar, 2024/05/02
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Arun Giridhar, 2024/05/02
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Nicholas Jankowski, 2024/05/03
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Arun Giridhar, 2024/05/03
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Philip Nienhuis, 2024/05/03
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Arun Giridhar, 2024/05/03
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Henry Shu, 2024/05/04
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive,
Arun Giridhar <=
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Henry Shu, 2024/05/04
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Petter, 2024/05/05
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Henry Shu, 2024/05/06
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Dmitri A. Sergatskov, 2024/05/06
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Dmitri A. Sergatskov, 2024/05/06
- [Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive, Dmitri A. Sergatskov, 2024/05/06