VMware Workstation

 View Only

  • 1.  Question regarding linked clones increasing in size over time

    Posted Oct 25, 2014 01:30 PM

    Hey guys,

    First time asking a question  /asking for help here so bare with me!

    I have windows 7 clones for my hobby on workstation 10.

    When I first clone the master, their all small in size, 400-500mb each, however week or so later, they all greatly increase in size each file inside the clone folders is close to 7-8 gig and completely using up all my SSD space.  I delete the logs / temp files every day, the virtual disk on each station goes back up but the oversall size of my clones on my ssd remain at 7-8gigs each.

    Is there anything I can do to stop this? Is there a work around? or is this how it is and will/can never stay at 500mbs each clone



  • 2.  RE: Question regarding linked clones increasing in size over time

    Posted Oct 25, 2014 02:13 PM

    Welcome to the Community,

    there's not much you can do from a VMware point of view. The linked clone (i.e. the delta file) will grow depending on what's going on within the guest OS (e.g. defragmentation, automatic updates, temporary files, ...). Maybe disabling automatic defragmentation, indexing, etc. will already help.

    André



  • 3.  RE: Question regarding linked clones increasing in size over time

    Posted Oct 25, 2014 02:21 PM

    Thanks!

    I disabled defrag, indexing, etc. I delete all temp files and logs every day (Scheduled task)

    The .vmdk file in each of the cloned folders is the one that insanely increases size over time. At the start it a measly 500MB file, and now after few weeks/month it's almost at 8GIG, haha. I just don't understand, guess it's just the way vmware works.

    Deleting things off my guest OS / clones doesn't decrease the size of the .vmdk file. Also the vmem file gets to around 500+MB but that's not very important, I'm much more concerned about the .vmdk file.

    Tried eveything I can think of, making a task to delete all temp files / logs every day but still no good... I guess it's just the way it is, was hoping it wasn't and someone knew of a way but I guess not.



  • 4.  RE: Question regarding linked clones increasing in size over time

    Posted Oct 28, 2014 03:09 AM

    I did some testing and monitoring.

    All clones have the same software, same exact settings, updates turned off, no defrag, no indexing, no hibernate, and paging file on automatic.

    I have 10 clones. after 24hours, some of the folders jump to 1.5gig-2gig, but others stay the same at 550MB. I'm stumped, I have no idea why this is happening, doesn't seem normal... or else all the clone folders would increase in size right?



  • 5.  RE: Question regarding linked clones increasing in size over time

    Posted Oct 28, 2014 06:11 PM

    Maybe a file monitoring tool like Process Monitor running in the guest OS can find out what's going on?

    André



  • 6.  RE: Question regarding linked clones increasing in size over time

    Posted 10 days ago
    Edited by robnicholsonmalt 10 days ago

    I know this is an ancient thread but this seems to be getting worse. I did a linked clone of a pretty basic Windows 11 VM earlier for testing. All I did is clone the VM, logon and install some (small) software I'm testing. I then left it all day and the clone is now 38GB big. The original VM is only 55GB. Now I appreciate that Windows 11 will write a reasonably amount of data in a day but 38GB isn't that far off re-writing almost every sector.




  • 7.  RE: Question regarding linked clones increasing in size over time

    Posted 10 days ago

    Well, what is your "some software" doing? Your numbers, by the way, do not match - what are they really?

    Windows will grow with every update or upgrade. It will have the old version in Windows.old file. That can be manually deleted, if you don't think that you need to go back. 

    If you have even a single Snapshot, all that VM does, is to grow. Nothing is ever deleted, just marked as deleted.

    None of these things explain such a huge growth (slightly depending on what the real numbers are), except your "some software". Looking at Event Viewer might reveal something, if something writes error logs all the time.