Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to download large files #327

Open
moran-yuva opened this issue Nov 28, 2017 · 0 comments
Open

fail to download large files #327

moran-yuva opened this issue Nov 28, 2017 · 0 comments

Comments

@moran-yuva
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant