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

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

[Octave-bug-tracker] [bug #60993] Environment became unstable and does n


From: anonymous
Subject: [Octave-bug-tracker] [bug #60993] Environment became unstable and does not recognize basic commands
Date: Fri, 30 Jul 2021 16:40:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Follow-up Comment #1, bug #60993 (project octave):

Generally it's the programmer's responsibility to close every file that is
opened, otherwise there will be a resource leak. This is particularly a
problem inside loops and function calls as you've found out.

There's no easy way for Octave to tell that it has run out of file handles
because that is very OS-specific. You will likely experience unresponsiveness
and freezes for any sort of resource exhaustion like files, memory, or
inodes.

You can try calling fclose("all") which will close all files opened in the
current Octave session. Other than that there's not much that can be done here
other than close files manually.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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