Non blocking memory transfer to GPU

can you elaborate on the issues that can be caused by allocating a lot of pinned memory or give a link to a resource? In my project where I’m hunting my OOM Issues ( Out of Memory after 2 hours - audio - PyTorch Forums) I’ve actually set pin_memory to True and I’m interested in whether this might have caused the problems.