Monday, February 20, 2012

VirutalPC Memory Error and VirtualBox - "Failed to load unit 'pgm' VERR_EM_NO_MEMORY"

Solution First

Turn off Google Update. System Configuration > Startup
  1. In the start menu search box type "System Configuration", click on it to open.
  2. Go to Startup tab, find "Google Update" and uncheck that.
  3. Click on "Apply" button and then "OK".
  4. Reboot the machine

That is all! Now the VirutalBox and Virtual PC should work fine.

The Problems

I was facing VMWare mahine too slow. The Windows Server 2008 installation was taking more than 2 hrs. I was expriencing much much slow machine.
So thought, I should try other VM prodcuts like VirtualBox. The virutal box ran fine and after few days I got the error as mentioned below. I was also getting error when tying to resume a VirtualPC (Microsoft® free VM product). I even could not start a WinXP maching using VirtualPC, taking only 256 MB of RAM.

I thought some services might be causing issue but I was not sure. I tried formatting and then installing all the software but I failed and was getting same errors.

Now when I tried turing off the startup item it worked but I was not sure which start up item should I disable.
I tried turning off one by one and found Google Update was causing problem :( . It was really unexpected, I thought some antivirus or other services might be causing that issue.

Anyways, I found the solution so thought I should post that.

When trying to resume a virutal box machine, get following error message:
Failed to open a session for the virtual machine <Machine Name>
Failed to load unit 'pgm' (VERR_EM_NO_MEMORY).

When trying to resume a Virutal PC machine, get follwoing error message:
The virtual machine could not be restored becuase there was not enough memory available on the host.


Unknown said...
This comment has been removed by a blog administrator.
Chatonda said...

Actually, it's got nothing to do with google updater. Just go to the task manager and kill the app that's consuming the most memory. The same thing happened to me. I tried to follow your solution but didn't have google updater running. Task manager showed me Microsoft Edge was consuming too much memory. After I killed it, my VM was able to load.