Memory on a computer device, whether desktop, laptop (including notebook) or smartphone (tablet pc, etc.) refers to a temporary data storage component or RAM (Random Access Memory), in some cases RAM capacity determines the speed of computer performance, why? Because the data stored in the RAM determines the volume of data to be processed, it will be processed, because RAM does not process instructions (can be data), processing will be done by the processor. What if the data will be processed more than the capacity of RAM, let’s say that RAM is installed only 2GB and the data should be stored in the RAM (call it) 2.3GB, the size is generally derived from the number of applications you open, for example you are listening to music on your computer with the music player application, at the same time your web browser is active (for example because you are browsing or opening social media) you are also using applications that require large memory resources such as virtual data room Android Studio or Visual Studio.
So, what if it happens, the data should be stored in RAM of 2.3GB while the RAM is only a 2GB capacity? So, it can be ascertained the computer will lagging (due to lag) or hang (not responding). Therefore, use large-capacity RAM, such as 4GB or 8GB, or 2GB x 2GB on a desktop or laptop computer (generally equipped with 2 RAM slots), but purchasing RAM (physical) costs considerably. As previously stated, if 2GB of RAM is required to hold more data than its maximum capacity (say 2.3GB), it can be ascertained that the computer will experience “stress” and consequently the computer will hang, lag, or even not respond at all, the worst possible is that the RAM is forced to work beyond its ability and overheat it to damage the chip in the RAM, therefore virtual memory plays an active role in handling the overload, the virtual memory capacity is taken from the hard disk drive capacity.
In general, RAM functions to store data that will be processed by the processor or data of ongoing activity (eg data from the application being used), in the presence of Virtual Memory does not mean the computer does not require RAM and can run in the absence of installed RAM on the computer. RAM is still needed when booting, without RAM the computer will not be able to enter boot mode. This makes sense because the presence of RAM is first checked by the ROM (BIOS) at first boot, whereas virtual memory is located on the hard disk drive (or one of the hard disk drive partitions), without the hard disk drive the computer can still operate (eg we use live Linux operating system CD / DVD or live Linux USB, even windows live version CD / DVD / USB also exist).