Not always. If a scratch disk becomes overloaded with temporary Photoshop files, you will get a Photoshop Scratch Disks Full error, even if your RAM exceeds the recommended amount. This is a solution to the problem of long-term memory rather than RAM.