Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6677573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:08:18+00:00 2026-05-26T04:08:18+00:00

Virtual memory is a good concept currently used by modern operating systems. But I

  • 0

Virtual memory is a good concept currently used by modern operating systems. But I was stuck answering a question and was not sure enough about it. Here is the question:

Suppose there are only a few applications running on a machine, such that the
physical memory of system is more than the memory required by all the
applications. To support virtual memory, the OS needs to do a lot work. So if
the running applications all fit in the physical memory, is virtual memory
really needed?

(Furthermore, the applications running together will always fit in RAM.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:08:18+00:00Added an answer on May 26, 2026 at 4:08 am

    Even when the memory usage of all applications fits in physical memory, virtual memory is still useful. VM can provide these features:

    • Privileged memory isolation (every app can’t touch the kernel or memory-mapped hardware devices)
    • Interprocess memory isolation (one app can’t see another app’s memory)
    • Static memory addresses (e.g. every app has main() at address 0x0800 0000)
    • Lazy memory (e.g. pages in the stack are allocated and set to zero when first accessed)
    • Redirected memory (e.g. memory-mapped files)
    • Shared program code (if more than one instance of a program or library is running, its code only needs to be stored in memory once)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Virtual memory was introduced to help run more programs with limited memory. But in
please bear with me as I am not good at framing question. and upto
I know the virtual memory separates 2G(for kernel)/2G(for user) in Windows. But why the
I have this subtle question about virtual memory. In one book I read this
Most of the literature on Virtual Memory point out that the as a Application
We have a servlet which occupies more virtual memory on the server due to
We have a servlet which occupies more virtual memory on the server as it
I want to see how g++ lays out memory for classes and virtual tables.
I'm debugging an out-of-memory exception. When I get the exception, the virtual bytes performance
Basically I want an arbitrarily large stack. I know that's not possible, but could

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.