fail to download large files
moran-yuva opened this issue · comments
moran-yuva commented
my code
var url = 'http://speedtest-safe.bezeqint.net/big500.zip'
horseman
.open('http://speedtest-safe.bezeqint.net')
.download(url, 'big500.zip', true).then(function(){
horseman.close();
}
runnning in debug I see that the file is fully downloaded from the network and then the system works for few minutes using large disk space (about 1G) to finally exit with "Unhandles rejection HeadlessError" at node-phantom-simple.js:506:18
the code is working fine when the file is small, for example when
var url = 'http://speedtest-safe.bezeqint.net/big50.zip'
Using
PhantomJS 2.1.1
Linux
try both diskCach:true/false