Kernels dies when using fastai library due to CPU memory issue

This is most likely caused by all batches being loaded into RAM at once. You can try the fix I mentioned in another thread.