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

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

[Octave-bug-tracker] [bug #47378] When we create a repetitive .xlsx file


From: anonymous
Subject: [Octave-bug-tracker] [bug #47378] When we create a repetitive .xlsx file we use all resource (memory?)
Date: Thu, 10 Mar 2016 08:09:06 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; BOIE9; ITIT; rv:11.0) like Gecko

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

                 Summary: When we create a repetitive .xlsx file we use all
resource (memory?) 
                 Project: GNU Octave
            Submitted by: None
            Submitted on: gio 10 mar 2016 08:09:05 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Paolo
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I use pkg io-2.4.0
If i run multiple generator .xlsx file after some run we have an error.
After error is necessary close octave.
An other things that I see is that Octave generate in users temporary files a
large amount of oct-... files (every loop generate 1 file) and don't delete
after close.
Here the example that can generate the problem:


clear
more off
for j=1:(2000)
        % extract file's name
        name=dec2hex(j);
        my_path=strcat(name,'.xlsx');
        % save data into file
        data=[j,j*2,j*3];
        xlswrite(my_path,data);
  j
end

and here the problem after some loops:
j =  397
j =  398
j =  399
j =  400
j =  401
j =  402
error: fprintf: invalid stream number = -1
error: called from
    __OCT_oct2xlsx__>__OCT_oct2xlsx_sh__ at line 353 column 3
    __OCT_oct2xlsx__ at line 125 column 16
    __OCT_oct2spsh__ at line 72 column 18
    oct2xls at line 181 column 18
    xlswrite at line 197 column 20
    Test at line 9 column 2
>>




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

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