Why does Parallels take up so much disk space?

Discussion in 'General Questions' started by MathiasN1, Nov 7, 2017.

  1. JohnH66

    JohnH66 Bit Poster

    Messages:
    12
    Thank you

    Ah OK so the .hds file is a package too - I assumed it was a file. It does indeed contain .hds files which I have now found out is the snapshot suffix. The oldest of these is 77.21Gb (11 May 2020) and there are 4 others which take up about 55 Gb between them. I think I now understand why my VM is so huge. My next questions are why the Snapshot Manager shows the first snapshot as 18/3/2020 and not 11 May as per File Manager, and are they incremental or can I delete the monster one (37 Gb) and still have the security of knowing I have a snapshot that works?
     
  2. JohnH66

    JohnH66 Bit Poster

    Messages:
    12
    Having said all that it seems that Parallels agrees with me that I only have just < 4Gb of snapshots and not the 55Gb of .hds files

    I wonder if Maria or somebody else from Parallels Support can explain why the snapshots folder in the PVM package is < 4Gb, the General Tab in Parallels Desktop shows < 4Gb of snapshots but I have more than 10 times that much (55Gb) of .hds files which Mr Google tells me are in fact snapshot files.
     
  3. mmika

    mmika Kilo Poster

    Messages:
    488
    What do you mean under "General Tab in Parallels Desktop shows < 4Gb". Could you share a screenshot, please.
    Those files in the snapshots folder in the PVM package are memory snapshots for VM.
    It contains only VM RAM state at the moment of snapshot. If you create snapshot for stopped VM, these files contain no RAM data and will be very small.
    But along with VM RAM state, snapshot of virtual HDD has also been taken. And those snapshots are in .hdd bundle, because it belongs to virtual disk.
     
  4. JohnH66

    JohnH66 Bit Poster

    Messages:
    12
    In Parallels Desktop if you go to Actions Configure it shows you a bar chart with space usage under the General Tab.
    In the end I followed these instructions from another thread


    1.) Free up disk space in Windows (use this article as a reference), shut Windows down and then reclaim disk space.
    2.) Disable 'SmartGuard'.
    3.) Launch Terminal (from the Finder menu, navigate to Go -> Utilities -> Terminal.app).
    4.) Copy the following command and paste it in Terminal as it is (do not hit 'Enter' yet): prl_disk_tool merge --hdd
    5.) Find your virtual machine on your Mac and ensure that there is a backup of this file available.
    6.) Drag the .hdd file and drop it inside the Terminal window (do not close the screen in which you see the .hdd file yet; keep it open).
    7.) In Terminal, you will now see an outcome similar to the following example (please note there should be a space between --hdd and /Users/Username...): prl_disk_tool merge --hdd /Users/Username/Documents/Parallels/Windows\ 7.pvm/Windows\ 7-0.hdd
    8.) Press 'Return' to start merging Snapshots (this process removes all snapshots, including hidden ones). (Important: Please wait till the operation completes; do NOT close the Terminal window before then.)
    9.) Once the operation finishes, close Terminal.
    10.) Now, go back to the window in which you saw the .hdd file. Move the folder 'Snapshots' and the file 'Snapshots.xml' to the Trash. Then close this window.

    It took about an hour but I ended up with a pvm file that is 88Gb instead of the previous 130+ Gb.
    Alarmingly the available space on my hard drive shrunk from about 70Gb to about 20 Gb. After a momentary panic I remembered about local TM snapshots (I have two time machines, one off and one on site). I deleted these and I now have 140Gb free space and am much relieved.
     
  5. FrancisB2

    FrancisB2 Bit Poster

    Messages:
    1
    I encounter the same issue. My .pvm file is 45 gig while I have almost no programmed installed on Windows. I don't have any Snapshots and SMartGuard is disabled. I followed JohnH66 steps but nothing happens in the terminal when I do the step #4. Thanks for your help...
     
  6. JohnH66

    JohnH66 Bit Poster

    Messages:
    12
    Did you go past step 4 and add the path to the HDD in steps 5-8?
     
  7. TinaA

    TinaA Bit Poster

    Messages:
    9
    1. Steps 5 - 8 are about removing snapshots. Do these steps have an effect when one has no snapshots?
    2. I searched the Mac for "name matches hdd" and found two files:
    harddisk.hdd.drh (24 kb) and
    harddisk.hdd (4 bytes) (see screenshot - this file is "inside" one of the same name, that I can't open - not a folder)
    If I have a backup copy of the .pvm file, then I have these, right?
     

    Attached Files:

  8. TinaA

    TinaA Bit Poster

    Messages:
    9
    Hi, I am now running Windows 10 on Parallels 17, and having the same problem. I think the following screenshot has the information you asked about:
    Can you help me free up space?
    I have no snapshots.
    "Reclaim disk space" freed up 0.7 GB.
     

    Attached Files:

  9. AlexandraA1

    AlexandraA1 Bit Poster

    Messages:
    4
    Use Finder and locate how many virtual machines (.pvm files) are saved on your Mac then check the size of each virtual machines. If you have multiple virtual machines, move the unused to an external drive or trash.
     
  10. TinaA

    TinaA Bit Poster

    Messages:
    9
    Thank you. I only have one .pvm file.
     
  11. AlexandraA1

    AlexandraA1 Bit Poster

    Messages:
    4
    Did you go past step 4 and add the path to the HDD in steps 5-8?
     
  12. TinaA

    TinaA Bit Poster

    Messages:
    9
    As I have no snapshots, that appeared to be unnecessary.
     
  13. hungamas

    hungamas Bit Poster

    Messages:
    1
    When I check every file in my C:\ disk in windows, I only use 32,6 GB. I'm aware that parallels itself take up disk space. But if I recall when first installing Parallels, It wasn't close to 38GB?
     

Share This Page