Nowadays, for many reasons we use VMware and in my case I love using vmware for development ! If my environment corrupt, I just delete the image and use the backup image (off course my development environment). But recently few images doesn't shutdown - shows BLACK screen - even after many hours; I need to force shutdown my computer, but this sometimes corrupt my image.
After spending some time on the internet, the best solution I found is to edit the .vmx file with the below properties:
1. Shut down the VM before you do anything; if something like a Production server,
you should either backup the entire directory that holds the VM files or take a
snapshot (depends on your product).
2. In the VM's folder, locate the .VMX file
3. Make a copy (backup) of the file (this is important!)
4. Edit the file using notepad (don't use anything like Word) - locate the following
entries in file - if you DO NOT find them, add them to the bottom of the file:
prefvmx.minVmMemPct = "100"
mainMem.useNamedFile = "FALSE"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"
5. Save the file and exit notepad6. Start the VM - let it completely start, log in, then choose normal shutdown - should
now shutdown in a matter of seconds.
I've had no adverse effects with these settings but use at your own risk.
No comments:
Post a Comment