help-octave
[Top][All Lists]
Advanced

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

out of memory or dimension too large for Octave's index type


From: Tanguy DUVAL
Subject: out of memory or dimension too large for Octave's index type
Date: Thu, 7 Dec 2017 09:40:09 -0500

I have this weird bug on Octave that happens sometimes when trying to plot some results:
failure: out of memory or dimension too large for Octave's index type
  __axis_limits__:56 (/usr/share/octave/4.2.1/m/plot/appearance/private/__axis_limits__.m)
  xlim:54 (/usr/share/octave/4.2.1/m/plot/appearance/xlim.m)
  SimVaryPlot:28 (/home/travis/build/neuropoly/qMRLab/Addons/SimVary/SimVaryPlot.m)
  qmt_spgr_batch:133 (/tmp/oct-ImBZL4/qmt_spgr_demo/qmt_spgr_batch.m)
  BatchExample_test>test_batch:37 (/home/travis/build/neuropoly/qMRLab/Test/MoxUnitCompatible/BatchExample_test.m)

This commit solves the issue (i.e. just removing cla / hold on)
https://github.com/neuropoly/qMRLab/commit/ba2bdd7983a074af1f9e8eb07a1e8f33f829de18

Note that Matlab does not crash.
I think Octave crashed when it receives too many instructions for the plots. Am I right?

Many thanks

reply via email to

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