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

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

[Octave-bug-tracker] [bug #59599] movmean crashes Octave


From: Rik
Subject: [Octave-bug-tracker] [bug #59599] movmean crashes Octave
Date: Sat, 5 Dec 2020 12:54:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Follow-up Comment #20, bug #59599 (project octave):

@Evangelos: I think you're system is working with 32-bit integer pointers, but
can you run this to verify?


log2 (sizemax ())


This will report 31 or 63 depending on whether you have a 32-bit or 64-bit
octave_idx_type.

Assuming it is the smaller, try


x = rand (2.1e9, 1);


That number is just below sizemax() for 32-bit octave_idx_type, but would
require ~16GB of memory which doesn't sound possible on your 2GB machines and
so this should throw an error when it can't get that much memory.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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