Cannot allocat
- Dominant language
- Python
- Stars
- 28.4k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Description
## Step to reproduce
1. Installed using `...`
2. Run as `...`
3. Got `...` error
## Output
```bash
Share what your terminal says when you run the script (as well as what you would expect).
```
## Environment
| | |
| ----------------- | ------------------------------- |
| OS Linux
| Installation type Conda |
| RAM available | XGo |
| Hardware spec | CPU |
## Additional context
(music) [root@iZwz9jbecbctr7jnimp6z9Z ~]# spleeter separate -i /root/2.mp3 -p spleeter:2stems -o output
OMP: Info #212: KMP_AFFINITY: decoding x2APIC ids.
OMP: Info #213: KMP_AFFINITY: cpuid leaf 11 not supported - decoding legacy APIC ids.
OMP: Info #149: KMP_AFFINITY: Affinity capable, using global cpuid info
OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: 0
OMP: Info #156: KMP_AFFINITY: 1 available OS procs
OMP: Info #157: KMP_AFFINITY: Uniform topology
OMP: Info #159: KMP_AFFINITY: 1 packages x 1 cores/pkg x 1 threads/core (1 total cores)
OMP: Info #214: KMP_AFFINITY: OS proc to physical thread map:
OMP: Info #171: KMP_AFFINITY: OS proc 0 maps to package 0
OMP: Info #250: KMP_AFFINITY: pid 22773 tid 22773 thread 0 bound to OS proc set 0
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/anaconda3/envs/music/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/local/anaconda3/envs/music/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/pool.py", line 412, in _handle_workers
pool._maintain_pool()
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/pool.py", line 248, in _maintain_pool
self._repopulate_pool()
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/pool.py", line 241, in _repopulate_pool
w.start()
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/process.py", line 112, in start
self._popen = self._Popen(self)
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/context.py", line 277, in _Popen
return Popen(process_obj)
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/popen_fork.py", line 20, in __init__
self._launch(process_obj)
File "/usr/local/anaconda3/envs/music/lib/python3.7/multiprocessing/popen_fork.py", line 70, in _launch
self.pid = os.fork()
OSError: [Errno 12] Cannot allocat

Contributor guide
Research direction
Start by reproducing the `spleeter separate` command in the reported Linux and Conda environment, then trace the Python multiprocessing fork failure shown in the traceback. The issue does not name a source file or test; done would require identifying a reproducible cause and documenting or validating a fix for the allocation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100