Always keep 20–50 GB free on your main drive, or set a dedicated external SSD as the primary scratch disk.
To avoid scratch disk congestion in the future: scratch disks are full mac photoshop
Mac users should periodically utilize "First Aid" in Disk Utility. This checks for directory corruption that might report incorrect free space calculations to Adobe. Always keep 20–50 GB free on your main