UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
Steps to reproduce the problem:
1. using the FileSaver.js to download the blob. https://github.com/eligrey/FileSaver.js/
2. call the function:
function blobtest()
{
for (var i=0;i<100;i++)
{
console.log(""+i);
var myarray=[];
for (var j=0;j<1000;j++)
{
myarray.push(new Array(10001).toString());//it has 10000 commas,which is 10000 Bytes
}
var blob = new Blob(myarray, {type : "text/plain;charset=utf-8"});
saveAs(blob, "filename" + i + ".txt");
blob=null;
}
};
What is the expected behavior?
download 100 files (filename0.txt~filename99.txt), each size is 10,000,000 Bytes,9.76MiB
What went wrong?
after it downloads the 52nd file (filename51.txt), the following downloading fails. it shows "Failed, No File".
I can change each file's size, but when the total downloading files' size (blob size) exceeds about 500MiB, it goes wrong.
Did this work before? No
Chrome version: 34.0.1847.137 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 13.0 r0
I also on my ubuntu 12.04 host with chrome M34. It also fail and the max size is also about 500MiB.
|
Deleted:
FileSaver.js
7.6 KB
|