cfjedimaster / Cordova-Examples

A collection of Cordova/Ionic/etc demos.
982 stars 1.07k forks source link

E/FileTransfer﹕ {"target":"file:\/\/\/data\/data\/pckg\/files\/image.png","http_status":0,"code":3,"source":"http://serverpath/image.png","exception":"socket failed: EMFILE (Too many open files)"} #17

Closed BilelKrichen closed 8 years ago

BilelKrichen commented 8 years ago

Hi, I Have a question about checkandDownload Example when i download more than 1000 images from server to DataDirectory store but this error shown
E/FileTransfer﹕ {"target":"file:\/\/\/data\/data\/pckg\/files\/image.png","http_status":0,"code":3,"source":"http://serverpath/image.png","exception":"socket failed: EMFILE (Too many open files)"}
How can i fix this Error? Please I need Help Thanks

cfjedimaster commented 8 years ago

Not sure what I can do about that. I'd urge you not to download 1k files though. I'd just download one zip and extract it.

cfjedimaster commented 8 years ago

See this for an example: http://www.raymondcamden.com/2015/05/19/working-with-the-new-phonegapcordova-contentsync-plugin