Using virtual memory makes a computer run slower, as the processor has to wait while data is swapped between hard disk and RAM. As secondary storage devices have slower access times than RAM, the computer's processing performance can be severely impaired. Processing performance can be improved by increasing the size of the RAM, thereby reducing the need for virtual memory.