WHY IS VIRTUAL MEMORY USED? When a computer is running the operating system and several other programs at the same time, the RAM sometimes gets full.Instead of closing some programs, the operating system will use 'pretend' or virtual memory.