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

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

[Octave-bug-tracker] [bug #33495] error of memory exhausted at random wh


From: anonymous
Subject: [Octave-bug-tracker] [bug #33495] error of memory exhausted at random while plotting
Date: Wed, 08 Jun 2011 09:41:14 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/4.6; Linux) KHTML/4.6.3 (like Gecko) Fedora/4.6.3-5.fc15

URL:
  <http://savannah.gnu.org/bugs/?33495>

                 Summary: error of memory exhausted at random while plotting
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 08 Jun 2011 09:41:13 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Lidia Bressan
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:



I work on a pc with fedora 15 and I have octave and octave-devel installed:
octave.i686  6:3.4.0-6.fc15   @anaconda-InstallationRepo-201105131946.i686
octave-devel.i686   6:3.4.0-6.fc15  
@anaconda-InstallationRepo-201105131946.i686

In a script I get the following error without reason. I think this is a bug.

error: memory exhausted or requested size too large for range of Octave's
index type -- trying to return to prompt

The script runs within the octave shell, it loads some data and plot it. There
is no indication about the line where the error occurs, but I checked and the
script stops at a plot command.

I don't know how to reproduce this error, since the script runs well  with
some values and stop with others.

In my specific case, it stops at the second of this two plot commands with:

ert=2
tat= 879
sst=1/60
ym=-75.153
yM=103.778.


figure(12);
 subplot(2,1,1)
 hold on; 
 plot((+ert+tat)*sst.*[1 1],[ym yM]);
 plot((-ert+tat)*sst.*[1 1],[ym yM]);

but the same script runs if tat=878 or if sst=1, while loading exactly the
same data !!

octave:164> 
octave:164> close all; clear;  tat=879; ert=2;  script_bug
error: memory exhausted or requested size too large for range of Octave's
index type -- trying to return to prompt
ans = loading
ans = loading done
ym = -75.153
yM =  103.78
tat =  879
ert =  2
ans = figure
octave:164> close all; clear;  tat=878; ert=2;  script_bug
ans = loading
ans = loading done
ym = -75.153
yM =  103.78
tat =  878
ert =  2
ans = figure
ans = end figure
octave:165> 

I run each line of the script alone, and I didn't get any error in the first
part of the script. The only thing I found are these gnuplot warning:


octave:159>       figure(12);
octave:160>        subplot(2,1,1)
octave:161> 
gnuplot> plot "-";
              ^
         line 10: warning: Skipping data file with no valid points

octave:161> 
octave:161>        hold on; 
octave:162> 
gnuplot> plot "-";
              ^
         line 12: warning: Skipping data file with no valid points

octave:162> 
octave:162>           plot((+ert+tat)*sst.*[1 1],[ym yM]);
octave:163>           plot((-ert+tat)*sst.*[1 1],[ym yM]);
error: memory exhausted or requested size too large for range of Octave's
index type -- trying to return to prompt

No idea why it runs with some values and with others no.
I attach the script. In case you need more information, please ask me by
email.

Regards

Lidia Bressan





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 08 Jun 2011 09:41:13 AM UTC  Name: script_bug.m  Size: 25kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=23509>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33495>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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