Virtual Memory Explained: Making Your Computer Smarter

Advertisements

You must have heard a lot about your tactical term memory. It should be good, only then your system or any of your devices works better. Similarly, in today’s article, we will talk about virtual memory, which keeps getting mentioned and you will also be aware of it. But today we have brought complete information about it in this Article.

Nowadays everyone uses computers and we have given you information about the memory in the computer i.e. RAM and ROM. Apart from these two memory, there is another memory, which is needed in the computer as much as RAM and ROM. The name of this memory is virtual memory. Today we are going to give you complete intimation in detail on virtual memory. Come friends, let us know what virtual memory is. To do multi-processing work in a computer, it is very important to have RAM in them. Multiprocessing refers to the ability to open multiple programs or applications at the same time, including web browsers, Microsoft Word, Photoshop, Excel, etc. To run various applications and programs in any computer, RAM in the computer itself does that work.

As many times as we open different applications in our system, the space of RAM is filled to cancel these applications and sometimes such a situation comes that the space of RAM which remains, can run these applications completely. Is filled with doing. After that no application or software is able to run on the computer, then in such a situation, the computer uses virtual memory.

Virtual memory is used for alternative tasks to RAM in the computer by taking up space on the computer’s hard disk. That is, virtual memory provides a separate RAM to the computer, which is completely different from physical RAM.

The difference is that physical RAM is in the form of a chip in a computer system, which is hardware, and virtual memory is software. So the work of virtual memory is that if there is less space of RAM in the system, then that deficiency can be met by using virtual memory in the computer. The size of RAM is limited in every computer system.

When we open more than one application or file in the computer, the RAM space gets filled. Because of this, the speed of the system slows down. At that time, virtual memory sends the data of RAM to the space of the hard disk, due to which the RAM starts emptying and then the computer can do the task in a better way. Now let us know how virtual memory works. Whenever the computer starts getting full of RAM, the computer’s operating system checks the applications and files that we keep open in our system and whatever file or application remains minimized in the system. That is, on which the user is not working at that time.

But if it remains open below, then the computer transfers the data of RAM to all of them in virtual memory with the help of paging files. When data is transferred from physical memory to virtual memory, the OS divides the programs of that application into page files and also adds a fixed number of addresses to each page file. To transfer data, the computer looks for areas of RAM that haven’t been used recently and copies them into virtual memory on the hard disk. Every page file gets stored on the hard disk. This frees up the space of our RAM and the application on which the user is currently working runs very smoothly. With that, new applications can also be loaded easily. So when we open the application that we have minimized, then the address of the file that was transferred to the virtual memory of the hard disk, the OS copies it back from the disk and sends it to the RAM again.

So that we can easily work on that program or application. The OS does not load files from the hard disk into RAM until they are needed. By this process, the size of RAM in the computer is increased, so that the problem of low-size RAM can be overcome while running more than one program on the computer. Virtual memory is not the physical memory of the computer but is a technique that allows a large program to be executed, which cannot be kept entirely in the primary memory i.e. RAM.

Virtual memory is a part of the operating system itself, which helps in completing the work of RAM, and all the applications that you were not able to access before, will now be able to do them easily through this memory. And now let us know further what are the benefits of virtual memory. Virtual memory was created at the time when RAM. Used to be expensive and due to the limited amount of RAM in computers, the memory of the computer used to get full. Especially when we used to run multiple programs at the same time. With virtual memory, we can almost double the RAM of our computer, due to which the speed of the computer increases more than before.

The biggest advantage of this is that programmers can write large programs to create applications Because virtual memory is much larger than physical memory. So now you will be able to run even large-size programs on your computer easily. Because of this reason, virtual memory is best for people who do not want to upgrade their computer system. That is, you do not want to buy new and big-size RAM but want to work fast on the computer. Well, this thing is quite good.

Its second advantage is that the system can be used without interruption by opening more than one application at a time, but there is also a drawback of virtual memory. Keeping more page files of a program on the hard disk slows down the process of retrieving those files because it takes longer to access data from the hard disk compared to accessing data from the main memory RAM.

That is why it takes some time to run multiple applications. Virtual memory is mainly a technique to expand the capacity of RAM for users. Virtual memory can be used in all major operating systems. Hope you have understood well from some videos what is virtual memory and how it works.

Leave a Reply

Your email address will not be published. Required fields are marked *

WP2Social Auto Publish Powered By : XYZScripts.com