[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65669] Cell array construction is memory-inte
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #65669] Cell array construction is memory-intensive |
Date: |
Mon, 6 May 2024 10:10:03 -0400 (EDT) |
Follow-up Comment #32, bug #65669 (group octave):
It may be not as much as the actual value, but the fact that
MALLOC_TRIM_THRESHOLD_ is set (it prevents dynamic threshhold escalation).
>From "man mallopt):
Note: Nowadays, glibc uses a dynamic mmap threshold by
default. The initial value of the threshold is 128*1024,
but when blocks larger than the current threshold and less
than or equal to DEFAULT_MMAP_THRESHOLD_MAX are freed, the
threshold is adjusted upward to the size of the freed
block. When dynamic mmap thresholding is in effect, the
threshold for trimming the heap is also dynamically
adjusted to be twice the dynamic mmap threshold. Dynamic
adjustment of the mmap threshold is disabled if any of the
M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, or
M_MMAP_MAX parameters is set.
Dmitri.
--
_______________________________________________________
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/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, 2024/05/04
- [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 <=