OSError: [Errno 28] No space left on device
See original GitHub issueHi,
Hi, How can I prevent the space error bellow ?
Traceback (most recent call last):
File "/anaconda/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/anaconda/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/anaconda/lib/python3.6/site-packages/pandarallel/pandarallel.py", line 64, in global_worker
return _func(x)
File "/anaconda/lib/python3.6/site-packages/pandarallel/pandarallel.py", line 120, in wrapper
pickle.dump(result, file)
OSError: [Errno 28] No space left on device
Thanks ! Boris
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Ask Question - Stack Overflow
The ENOSPC ("No space left on device") error will be triggered in any situation in which the data or the metadata associated with...
Read more >Errno 28 No space left on device even though there is space
The issue isn't whether there is space somewhere on your machine but whether there is space in the specific location where you are...
Read more >"OSError: [Errno 28] No space left on device" when uploading
If the sequence you're trying to upload is bigger than the current size given to /tmp, then you'll get this error. The easiest...
Read more >OSError: [Errno 28] No space left on device - Kaggle
while trying to use multiple core options using sklearn n_jobs argument. Is there something that I might be doing wrong?
Read more >Top 3 Ways to Fix “No Space Left on Device” Error in Linux
Fix 1: Restart Processes Using Deleted Files. The most probable cause of the “No space left on device” error is a process still...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is the solution:
import os
os.environ['JOBLIB_TEMP_FOLDER'] = '/tmp'
pandarallel.initialize(nb_workers=30,progress_bar=True,verbose=2,use_memory_fs = False )
If working with Docker, the default for /dev/shm is only 64M.