title: Importance of Virtual Memory when memory is very cheap
body: <p>This question was asked to one of seniors in a programming interview.
  According to me, because the sizes of memory accessed by softwares are increasing, the memory may soon be exhausted. So in this case if we used swapping, it would be inefficient. So we would go for virtual memory because it maps the memory in the disk to the main memory.</p>
  
  <p>But if we can have very huge memory then would virtual memory be of use?
  And please tell if the above answer needs some modifications.</p>