[WinError 1455] The paging file is too small for this operation to complete

[WinError 1455] The paging file is too small for this operation to complete. Error loading “C:\Users\gtu\anaconda3\envs\Deeplearning\lib\site-packages\torch\lib\caffe2_detectron_ops_gpu.dll” or one of its dependencies.

How can I overcome this error?

I don’t use Windows, but this issue came as a direct result searching for your error message.

I have managed to mitigate (although not completely solve) this issue. I posted a more detailed explanation at the StackOverflow link given by ptrblck, but basically try this:

Download:

Install dependency:
python -m pip install pefile

Run (for OPs paths) (NOTE: THIS WILL MODIFY YOUR DLLS [although it will back them up]):
python fixNvPe.py --input C:\Users\gtu\anaconda3\envs\Deeplearning\lib\site-packages\torch\lib\*.dll

1 Like

Thanks. Your solution is really helped to me

I tried the script and it is giving me the same error, I also tried changing the torch version, does it mean that my memory is just not enough?