Did you change anything in the setup or the script or are you just running exactly the same command on the same system?
In the latter case, could you check the GPU memory usage via nvidia-smi?
Are you using this GPU also for your video output on the machine?
I’m not familiar with Windows, but I assume the usage might vary depending on what you are executing.