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

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

[Octave-bug-tracker] [bug #58345] Crash on executing a 1GB script file


From: anonymous
Subject: [Octave-bug-tracker] [bug #58345] Crash on executing a 1GB script file
Date: Sun, 10 May 2020 08:20:23 -0400 (EDT)
User-agent: Mozilla/5.0 (Android 8.0.0; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?58345>

                 Summary: Crash on executing a 1GB script file
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 10 May 2020 12:20:21 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I was programmatically creating several script files that had the output of an
unrelated program  and Octave code to further manipulate them, essentially
being self-contained scripts with both code and data, the data coming from the
upstream program. One of those script files was over 1GB because it had that
much data. Upon invoking that script, Octave crashed with no warning. I was
monitoring memory usage through top, and it never exceeded 9%, but it crashed
none the same and sent me back to the bash prompt.

I can work around this, but I wanted to report this data point about the limit
of what the interpreter can handle. The file which crashed had one matrix of
size 19100000 x 12, each element being a positive integer from 1 to 3320. The
only code was "arr = [" at the start and a closing "];" at the end.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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