What is virtual Memory under Linux?

Editorial / Best Answer

Answered by: Hitesh

  • Jan 3rd, 2007


Linux supports virtual memory, that is, using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write the contents of a currently unused block of memory to the hard disk so that the memory can be used for another purpose. When the original contents are needed again, they are read back into memory. This is all made completely transparent to the user; programs running under Linux only see the larger amount of memory available and don't notice that parts of them reside on the disk from time to time. Of course, reading and writing the hard disk is slower (on the order of a thousand times slower) than using real memory, so the programs don't run as fast. The part of the hard disk that is used as virtual memory is called the swap space

Showing Answers 1 - 7 of 7 Answers

Warrior

  • Mar 28th, 2006
 

Virtual Memory in Linux is possible using a swap filesystem rather than using a file for swapping purpose in windows

  Was this answer useful?  Yes

Hitesh

  • Jan 3rd, 2007
 

Linux supports virtual memory, that is, using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write the contents of a currently unused block of memory to the hard disk so that the memory can be used for another purpose. When the original contents are needed again, they are read back into memory. This is all made completely transparent to the user; programs running under Linux only see the larger amount of memory available and don't notice that parts of them reside on the disk from time to time. Of course, reading and writing the hard disk is slower (on the order of a thousand times slower) than using real memory, so the programs don't run as fast. The part of the hard disk that is used as virtual memory is called the swap space

  Was this answer useful?  Yes

maureenash

  • Aug 17th, 2016
 

Virtual Memory Usage from Java under Linux, too much memory used. It is using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write the contents of a currently unused block of memory to the hard disk so that the memory can be used for another purpose. Custom essay writing service are giving the guidelines about the essay writing for academic work. Every students can perform very well in essay writing, assignment, book report and some other task.

Ref: essay guardian

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions