Physical memory and virtual memory - operating system

What is the meaning of physical memory and virtual memory?

Physical memory is the actual real memory used in RAM. Virtual memory as the name suggests is not real. The OS uses virtual memory as a memory management technique in which non-contiguous memory is presented to software as contiguous memory. If the RAM falls short of memory to accommodate more running processes, the OS allocates a portion of your hard drive to act as though it were RAM. That's what is referred to as virtual memory.

What is the meaning of physical memory and virtual memory?

Physical memory is the only memory that is directly accessible to the CPU. CPU reads the instructions stored in the physical memory and executes them continuously. The data that is operated will also be stored in physical memory in uniform manner.

Virtual memory is one classification of memory which was created by using the hard disk for simulating additional RAM, the addressable space available for the user. Virtual addresses are mapped into real addresses.
Difference between socket and pipe - operating system
Sockets: Socket is a part of OSI layer model. Communication among different layers is performed through sockets......
Difference between THREAD, PROCESS and TASK - operating system
A program in execution is known as ‘process’. A program can have any number of processes. Every process has its own address space........
Differentiate between RAM and ROM - operating system
RAM: - Volatile memory - Electricity needs to flow continuously - Program information is stored in RAM.......
Post your comment