[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: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #47378] When we create a repetitive .xlsx file we use all resource (memory?) |
Date: |
Thu, 10 Mar 2016 17:20:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2 |
Follow-up Comment #2, bug #47378 (project octave):
The example was eaten by savannah, here it is (pasted from email):
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>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/