question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSError: [Errno 28] No space left on device

See original GitHub issue

Hi,

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:open
  • Created 3 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
pbidrocommented, Mar 6, 2021

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 )

1reaction
pankaj-kvhldcommented, Feb 18, 2021

If working with Docker, the default for /dev/shm is only 64M.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found