[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell |
Date: |
Thu, 2 May 2024 09:40:32 -0400 (EDT) |
Follow-up Comment #8, bug #65669 (group octave):
>From the video, it looks like one instance of Octave crashed because it ran
out of memory. Each instance was trying to use 6+ GB on an 8GB machine. That's
not an Octave bug by itself. I could run that code on a 16GB machine but if I
had increased my array size it would have crashed here too.
Octave will request the memory it needs. If there isn't enough from the OS,
Octave will follow the OS default behavior such as exiting the whole program
unceremoniously. If you want it to only give an "insufficient memory" error
and return to the prompt, there are many ways to override the default behavior
through your OS mechanisms. One way is with the Linux command prlimit like in
this discussion
https://octave.discourse.group/t/octave-crashes-when-out-of-memory/4339
Octave will not override OS default behavior unless you specifically set such
limits yourself using a technique that suits you. There is no single solution
that will work for all users and environments.
_______________________________________________________
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, Henry Shu, 2024/05/01
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Arun Giridhar, 2024/05/01
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Henry Shu, 2024/05/01
- [Octave-bug-tracker] [bug #65669] Memory Leak when Using Cell, Arun Giridhar, 2024/05/01
- [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, Nicholas Jankowski, 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,
Arun Giridhar <=
- [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, Nicholas Jankowski, 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, 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, Nicholas Jankowski, 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/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