Hi ,
I am newbie in pytorch, I am getting this error frequently, after some percentage of epoch, is it due to ram or multiprocessing  issue im not able to understand
i have kept no of workers as 4 .
batch size is 32 , with each file around 2sec(63kb).
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/torch/utils/data/dataloader.py”, line 872, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/multiprocessing/queues.py”, line 105, in get
raise Empty
_queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “multihead_torch.py”, line 101, in 
for batch in pbar:
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/tqdm/std.py”, line 1170, in iter
for obj in iterable:
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/torch/utils/data/dataloader.py”, line 435, in next
data = self._next_data()
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/torch/utils/data/dataloader.py”, line 1068, in _next_data
idx, data = self._get_data()
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/torch/utils/data/dataloader.py”, line 1034, in _get_data
success, data = self._try_get_data()
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/torch/utils/data/dataloader.py”, line 880, in _try_get_data
if self._workers_status[worker_id] and not w.is_alive():
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/multiprocessing/process.py”, line 156, in is_alive
returncode = self._popen.poll()
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/multiprocessing/popen_fork.py”, line 28, in poll
pid, sts = os.waitpid(self.pid, flag)
File “/root/surya/installs_anaconda/anaconda3/envs/pytc/lib/python3.7/site-packages/torch/utils/data/_utils/signal_handling.py”, line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 16353) is kill