Difference of Virtual and Swap memories

ramana_slv

ramana_slv

@ramana-slv-xx4JdA Oct 25, 2024
What is the difference between the virtual memory and swap memory?
please explain any one ...........................

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Reya

    Reya

    @reya-SMihdC Jan 23, 2011

    Virtual memory is the separation of logical memory from physical memory.Only one part of the program needs to be in memory for execution.

    I guess both are same!Virtual memory is used in windows whereas the term swap space is used in linux,
  • eternalthinker

    eternalthinker

    @eternalthinker-Kvsi5Y Jan 24, 2011

    As praveena said, they're more or less the same.

    Virtual memory is the concept of using hard disk space for run time storage and disguising it as physical memory.

    Swap is rather the term we use to represent the actual space in hard disk which is used for this.

    In windows, this is a swap file in C: drive(I forgot it's name!),
    and in most of the modern Linux distros, you'll be asked to reserve an entire swap partition for this purpose.
  • Reya

    Reya

    @reya-SMihdC Jan 24, 2011

    Windows 3.11 is a hidden file created by Windows 3.x used as a virtual memory swap file😀