The data loader is built with loading from disk in mind.
In your case here, you don’t want multiple workers for sure. But 0. Otherwise, it will try to use multiprocessing to load data which will increase the memory usage by a lot.