I'm trying to understand virtual memory/physical memory. This question is from a past exam paper.

Isn't is better to have a bigger virtual memory than physical memory so it can accommodate programs that cant be handled by physical memory?

So, what is a disadvantage? Or did I misunderstood the question.

  • 2
    $\begingroup$ Bigger virtual memory, or bigger page size? Those aren't the same. Perhaps it would be useful to spend some more time reviewing how virtual memory works. $\endgroup$ – D.W. Apr 24 at 23:10
  • 1
    $\begingroup$ And spend some time reading the question carefully. $\endgroup$ – gnasher729 Apr 25 at 8:16
  • $\begingroup$ @D.W. If I'm correct, I guess one advantage would be that more information can be swapped between hard drive and memory per I/O operation but one disadvantage would be there will be a lot of wasted memory because one page might not need too much and the rest of the memory is waste. $\endgroup$ – Red Apr 25 at 21:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.