If the retention policies are not defined properly on Azure DevOps you may encounter out of space issues on your windows build containers. Take for example the below build, which stopped as it could not copy the necessary files on the build/temp folder.
In order to fix the build, you can connect to the windows server which runs the containers and get a prompt for the one that failed.
docker exec -it agent-name-01 cmd.exe
You can then check for the available free space:
Navigate to folder work and delete some build folders to free up space.