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

libcore.io.ErrnoException: write failed: ENOSPC (No space left on device) #72

Open
abolinhas opened this issue Mar 8, 2017 · 0 comments

Comments

@abolinhas
Copy link

abolinhas commented Mar 8, 2017

Hi,
I'm unziping a very large file with almost 10.000 files into my SD Cart, the unzip starts smootly but when reach about 60% return this error.

E/Zip ( 5633): An error occurred while unzipping.
E/Zip ( 5633): java.io.IOException: open failed: ENOSPC (No space left on device)
E/Zip ( 5633): at java.io.File.createNewFile(File.java:950)
E/Zip ( 5633): at org.apache.cordova.Zip.unzipSync(Zip.java:130)
E/Zip ( 5633): at org.apache.cordova.Zip.access$000(Zip.java:23)
E/Zip ( 5633): at org.apache.cordova.Zip$1.run(Zip.java:39)
E/Zip ( 5633): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/Zip ( 5633): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/Zip ( 5633): at java.lang.Thread.run(Thread.java:841)
E/Zip ( 5633): Caused by: libcore.io.ErrnoException: open failed: ENOSPC (No space left on device)
E/Zip ( 5633): at libcore.io.Posix.open(Native Method)
E/Zip ( 5633): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/Zip ( 5633): at java.io.File.createNewFile(File.java:943)
E/Zip ( 5633): ... 6 more

This is strange because the size (unpacked) of all files is about 70mb and I have near 2.5GB avaliable on SD.

Also, when this occurs I can't execute the unzip again, I need to kill my app and launch again, seems that the queue is not reseted or other proccess stills hang

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