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

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

[Octave-bug-tracker] [bug #58345] Emit error and don't parse scripts > 1


From: Rik
Subject: [Octave-bug-tracker] [bug #58345] Emit error and don't parse scripts > 1GB in size
Date: Tue, 12 May 2020 17:36:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #58345 (project octave):

                Priority:               1 - Later => 2                      
              Item Group: Segfault, Bus Error, etc. => Feature Request        
                  Status:                    None => Confirmed              
                 Summary: Crash on executing a 1GB script file => Emit error
and don't parse scripts > 1GB in size

    _______________________________________________________

Follow-up Comment #3:

This seems reasonbale.  The Mathworks, in their answer, recommend the same
strategy of separating the variables (data) from the processing code.

I suppose one thing we could do is check the file size before attempting to
parse the m-file and just issue an error if it is too large.  This would be
nicer than an abrupt crash.

Re-titling to reflect that.

    _______________________________________________________

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]