Skip to main content

Force Shutdown on VMWare Player

Here a simple tip for VMWare users. If you have set the memory allocation of your VMPlayer to be high and one day wake up with error saying it cannot start the VM because there is not enough memory on the host, here is what you can do:

1. Adjust the VMWare memory allocation to a lesser value. Closing the VMWare will not commit the changes on the memory allocation till you shutdown the VM itself. This is the problem, you cannot shutdown the VM unless you can start it.
2. To workaround this problem, go to the folder where the VM file reside and delete the .VMSS file. Open your VM , by then the memory allocation had been applied and the memory allocation problem is resolved.

Comments

Vicente said…
Note: This comment isn't with regard to your blog.

Sir may I ask for your email address if you don't mind. And by the way, I invited you sa Linkedin.com. I'm just gonna wait for the confirmation.hehe. Si vic abana po ito, your former student sa st.louis.

Thanks
Jay said…
hey, you saved my day! thank you!!
Marvin said…
@Jay

No problem dude . Thank you for visiting my blog.

Popular posts from this blog

renaming default namespaces for VSTO projects in VS2008

So here is the scenario , you are starting a VSTO project and decided that your default namespace is ExcelAddInTesterApp . You created the project and started coding the project. After several days , your boss called and said "hey marvin , make use of this namespace OurCompany.ExcelAddInTesterApp , we have to add our company name to it got it?" . You get back to your machine thinking its just a simple property just like any project you've been working on. So you right clicked the VSTO project and hit properties . Boom! What the F@#$? The default namespace textbox is disabled!!!!



I've been through this and I googled for ways to do it and ended up with a blog from a Microsoft MVP telling me it can't be done because it is disabled. Then I thought of Refactoring, the beauty and grandeur of the renaming process. I selected the namespace and hit the refactor menu hoping that this would solve the problem . Unfortunately , it did not rather it displayed the message box …

Hiding Unwanted Python Folders and Files in Visual Studio Code

Visual Studio Code is a universal editor and pretty good at it. However, the explorer view maybe cluttered with the automatically generated folders and files confusing developers. Python is no different. Below are example files and folders generated by Python.

The __pycache__ folder and *.pyc files  are totally unnecessary to the developer. To hide these files from the explorer view, we need to edit the settings.json for VSCode. Add the folder and the files as shown below:
Copy and paste the lines below :

"**/*.pyc":{"when":"$(basename).py"},"**/__pycache__":true

this year

.. i will learn new things, perhaps play a new instrument or go back to school.
.. i will find beauty on the open source community.
.. i will read more books and listen to more music.
.. i will pen more poems and possibly write more songs.
.. i will go for new distances and discover new terrains.
.. i will continue to pile running miles to stay fit and healthy.
.. i will strive to be free and make myself available to unknown future.
.. i will go out of my shell more often and be socially more open.

.. i will continue to grow and go with the changes of time.
.. i will be more patient and hopeful to things that may not even be possible.
.. i will be a better son, brother and more importantly a better father.
.. i will be closer with the great beyond.

.. i will continue to repair , refactor and upgrade myself to become a better version of me.