0

Parallels: Unable to Allocate Virtual Machine Memory!

For the most part, I've been pretty happy with Parallels as my virtualization solution. Lately...less so. I have a WinXP virtual machine that I keep running most of the time. I use it sparingly, but just often enough that I find it to be a pain to open every time I need it. It does some pretty important things for me. I use it to VPN into the office network (so I can use all of Outlook 2007's Exchange capabilities) and to run Quicken to manage my finances. Last week, though, something changed.

For no reason at all, as far as i can tell, when I started up the machine one day last week (I do shut it down occasionally) I got this:

Parallels Error: Unable to allocate virtual machine memory 

That can't be good.

A little together time with Google told me that this was not a new error message.  There are complaints about it all over the Parallels forums along with a lot of home grown solutions.  I tried them all:

  1. I verified my boot disk
  2. I repaired permissions
  3. I ran Onyx to clean my caches and, for all intents and purposes, thrown the bath water & the baby
  4. I rebooted (um, duh)
  5. I reduced the amount of memory allocated to the VM

I even tried all of those crazy things you try for absolutely no reason at all except that you're desperate and nothing else has worked.  You know what I'm talking about.  Stuff like rotating the desktop three times, launching and quitting a text editor and balancing on your left foot while starting the VM.  Come on, you know you've done it, too.

Nothing worked.  Until tonight.  Tonight...I found an answer. I'm not sure it's the answer, I'm not sure why it worked, I'm not sure whether it should work and I'm not sure whether it will screw up something else, but...all that said...I finally got the VM to start.  Here's what I did:

  1. I opened the folder where the VM is stored (e.g. ~/Library/Parallels/[vm name])
  2. I deleted the .sav and .mem files (retaining the .pvs and .hdd files)
  3. I started the VM

There in #3 when I say I started the VM...I mean I started the VM.  Not to be confused with tried to start the VM.  Finally.

Hey...you.  Yeah...you.  The one reading this who's about to delete those files without creating a copy first...don't do that.  Seriously.  That never ends well.

tags:
Software
Ben Aylett said:
 
A most exellent and useful blog entry!

So glad you made it to the top of my google results. It worked for me too! I did not get a chance to narrow it down to a particular file (I just wanted to have access to MYOB again). Just want to say thanks firstly for trying to RENAME the files in the first place and secondly for posting your findings.

Paralells might need to look into this. Nothing makes the pit of the stomach churn like a memory error when you try to enter invoices and process payments. Better still, MYOB should port Accounting Plus to Mac OSX.
 
posted 919 days ago
Add Comment Reply to: this comment OR this thread
 
 
I'm glad you found it helpful. I've had some (but not much) luck with Parallels free support so I just started screwing around with things until it worked.

I definitely agree that it's something Parallels should look into. That's a terrifying error to see when you have critical applications running in a VM.
 
posted 919 days ago
Add Comment Reply to: this comment OR this thread
 
Tony said:
 
This worked for me as well. Nice work. I was also about to close the books for the month and totally freaked out!
 
posted 849 days ago
Add Comment Reply to: this comment OR this thread
 
Mike said:
 
I'll add that I've found the issue to be permissions related- if multiple users access the same virtual machine and those files are left behind for some reason, then the you can get the error as they will be set to the ownership by the person who was running the VM when they were created. I.e. UserA opens, uses, then quits; then UserB tries to open and those two files are still there then the error will pop up because the files will be owned by UserA and read-only by UserB. a pain, but shutting down the virtual machine completely should resolve the issue.
 
posted 696 days ago
Add Comment Reply to: this comment OR this thread
 
Cyril Bouteille said:
 
Thank you! You saved my life! I was desperate about what happened agonizing at the thought of losing my quicken data and your trick did the job! Finding your great blog post on Google was a blessing. Thank you for taking the time to share your findings!
 
posted 469 days ago
Add Comment Reply to: this comment OR this thread
 
Rob Miller said:
 
let me share my experience with parallels. i bought a macbook pro two weeks ago (late october) and took some time to research how to use windows with it. i didn?t want to use bootcamp, as i didn?t wantt o partition my hard drive and reboot to switch systems. i thought about vmware and some others, but felt parallels would be best option. i liked everything i heard about it.

so off i went in search of parallels website. i paid $87 for the download version of parallels desktop 5 and the extended download service. i installed it and thought great. i created the virtual machine and then tried to install windows xp. at this point, our experiences become very similar. the installation of xp stopped at less than halfway and i got a message that parallels tools had not been installed, and i got an option to click the button to install the tools. what happened next was surreal.

the program began searching the xp disc, in the dvd drive, for the parallels tools. i thought it was odd as i had downloaded the program. but after i had clicked the button, i could do nothing. parallels froze my machine. i figured i had just had bad luck until i tried to contact parallels for support.

unlike most reputable companies (for example, hp has the most excellent after-sales service i have ever encountered), parallels was a bust. first, they say there is a 30-day free support. that, in my case was bullshit. when i tried to make contact to make use of that 30-day support, i was asked for my purchase order id number. when i typed it in and click submit, i reeived a notice that the number was invalid. i tried several times, but got the same result.

i then tried to find an e-mail address but, conveniently for the company, they do not offer one for north america, from where i bought the download. unfortunately foe me, i am a journalist working in china, so it is not practical for me to call their phone number. when i uninstalled the program, i got a feedback form asking why i removed the program.

i sent a detailed e-mail back, explaining the situation, how the program did not work right and how their lack of any semblance of customer support left me with NO confidence in either the product or the support team and i asked for a reply.

i did receive an automated reply with the typical promise to read the e-mail etc etc, but have not received a reply. i have reopened that automated e-mail and sent a reply again asking for a refund, confirmation that i will receive a refund and confirmation from a person that they received my e-mail.

only once have i experienced such an abysmal product and even worse customer support. can?t even refer to it as customer support, as with customer support there is some form of communication and response to the complaint. and for the life of me, i can?t understand how the purchase order number was invalid. the activation key they sent me worked fine and registered the product.

i would like to hear from others who have had bad experiences (or even good) with this product and company representatives. i am thinking about writing an article about my experience with parallels for the tech pages. i might not get my refund, but i will be able to warn others what could be in store for them if they purchase this product.
 
posted 10 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Rob  Wilkerson