Virtual memory is within the hard disk of the computer. It functions in the same way as RAM, but storing open applications when there is not enough RAM. It has a slower access time than the main memory and its use can lead to disk thrashing and poor performance.