[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58381] Consistent crash on large memory opera
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #58381] Consistent crash on large memory operations |
Date: |
Thu, 21 May 2020 14:16:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36 |
Update of bug #58381 (project octave):
Status: Need Info => Wont Fix
_______________________________________________________
Follow-up Comment #4:
IMHO, it's best to use standard Unix resource limits to handle this kind of
problem.
I have the following in my octaverc
status = system (sprintf ("prlimit --pid %d --as=8589934592", getpid ()));
so that Octave always runs with a 8 GiB memory space. With this setting, I get
the following with your example
>> s = sortrows(vvec(mat));
error: out of memory or dimension too large for Octave's index type
But if the other maintainers think it's worth doing something more to try to
detect possible memory problems before they happen, ok.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58381>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/