Fix: VMWare slow to release swapped memory after stopping guest

Ever since upgrading to VMWare v6.5.1, I've noticed it would take several minutes for my laptop to respond to input after closing VMware or pausing/shutting down a guest.

The excessive harddrive activity would halt my host operating system and prevent hibernation from working (causing me to nearly miss my train station several times!)

Luckily, someone's found the solution to fixing this problem by setting some hidden configuration options.

Open up your "guest.vmx" file in Notepad and paste the following lines at the end of the file.
mainMem.useNamedFile = “FALSE”
prefvmx.useRecommendedLockedMemSize = “TRUE”
prefvmx.minVmMemPct = “100″
This has stopped the excessive harddrive activity on my laptop and I have been able to get off the train on time =)

[ Source ]

For more configuration options, see this link.


  1. Thanks for this,
    prefvmx.minVmMemPct = “100″ works for me, not the other two lines.

  2. YAY !! Back on track - thanks a lot

  3. Thanks a lot, it works fine!

  4. Nice one!! I was looking for this solution from long back.. It save a lot of my time.

  5. Thanks man... I always wondered why my computer went so slow after closing a VM, awesome tip!

  6. 3 Years on, thanks for the tip :-)

    1. No problems! Can't believe they still haven't fixed it

  7. Thank you, this is great. I found a couple sites aiming to your blog, and this is what fixed my problem.

    I'm newer to VMWare so others may know this already - but the one thing I would add is to save the file as Unicode-8 (UTF-8). If using Windows 7 notepad the program tries to "help" and save as ascii.

    1. Oooh that's a nice little tip. Thanks =)

  8. Do I just have to open my VM file with notepad or specifically guest.vmx? Where to find that file?

    1. Yeah just open it with notepad.

      It is whereever you chose to save your VM (it's configurable).
      I changed mine immediately after setup, so I don't remember where the default is. Sorry!


Leave your thoughts ...
If you are having trouble with copy/pasting in comments, you need to sign in or click 'Preview'. For more information about this Firefox bug, see here.

Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog