octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell
Date: Thu, 2 May 2024 09:51:45 -0400 (EDT)

Follow-up Comment #9, bug #65669 (group octave):

on the same system, i just ran:

a = magic (10000);
a = cat(3, a, a);
a = cat(4, a, a);
a = cat(5, a, a);

the last one uses a similar ram usage level. i think some swapping based on
system response.  `memory` reports 

Octave RAM: 6178648 kiB, virt: 6692892 kiB

as soon as i 'clear all', top reports the memory is released and reported
usage drops back to 

Octave RAM: 45348 kiB, virt: 442736 kiB

and top reports octave-gui usage dropped back to 0.4%


something is different in the comment #0 case, and I think we may be being too
hasty to attribute it to the OS memory manager. why would the case above
release memory with a clear all but not the OP's case?  

how can we construct a similar simple test with cells or is there something
unique to how he built the large cells?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65669>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]