Virtual Machine's Virtual Memory - 2 swap files?

Discussion in 'Installation and Configuration of Parallels Desktop' started by Shaddam IV, Feb 2, 2010.

  1. Shaddam IV

    Shaddam IV Forum Maven

    Messages:
    623
    I learned that Parallels is keeping a complete copy of the Virtual Machine's memory in a file that's usually located in the VM package. This includes real memory, the swap file, and some other stuff (the vid memory?). For my 832 MB VM, for instance, that file is approx. 1.25 GB.

    I understand that that file is needed to help Parallels wake up faster from suspension and after the Mac was sleeping, among other things (I don't know what other things but I'm sure they're a Good Thing (R)).

    In particular I understand that file is where Parallels keeps the Virtual Machine's virtual memory file, ie the VM's swap file. What I don't understand is why Windows still creates its own swap file on the Virtual Machine's Virtual Hard Drive so that a VM essentially works with two swap files.

    So, why does my VM have two swap files - one that is the "orthodox" Windows swap file on its own (virtual) drives, and the other that is part of the Parallels memory file? Is it that maybe the Windows "orthodox" swap file is just created as Windows starts up, but actually never used since the VM actually uses its memory file for swapping? If so that's wasting quite a bit of space. Or is something else going on?

    Maybe someone from Parallels (or another user) could answer this or point me toward the appropriate knowledge base article... I looked but I didn't find information that would answer my question. Thanks!
     

Share This Page