"Cannot allocate memory" while formatting a hard drive Mac OS X

Hello, I just bought a WD My Passport 1 TB external hard drive to plug into my MacBook OS X (10.6.8).  When I try to format it I get the error POSIX reports: The operation couldn't be completed. Cannot allocate memory.  This happens if I try to erase it or partition it.  Currently there is no partition on the hard drive as it did erase.  I'm trying to format for Mac OS Extended (journaled) as I was instructed.

Anyone have any ideas what I can do to format this drive?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jayligdaAuthor Commented:
Thanks for the article:

"You can use terminal commands as alternatives to initially format the drive and hopefully allow it to be accessible via Disk Utility again."

This did not work for me.  From what I read it seems to be an issue with the OS.  I'll take it to the Genius Bar and see if they can help.
jayligdaAuthor Commented:
I took it to the Genius Bar at the Apple store.  The intake tach instructed me to set up my computer to show me the issue so he'll know which genius could best help me.  I plugged everything in and started the format.  It formatted without an issue.  I thanked him and left.

I believe the issue was that I had the hard drive plugged in through a USB hub.  I mentioned that to the tech (I really didn't leave right away).  he said that definitely could have confused things.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

noxchoGlobal Support CoordinatorCommented:
Your problem was seemingly in the USB Hub not getting enough energy. So the drive was not fully functional. As soon as you connected it in a different hardware it worked for you.
This happens often with External USB enclosures or even external HDDs. So sometimes the drive have two USB connectors to get more power for successful work.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I agree. You need a powered USB hub.
jayligdaAuthor Commented:
I was going to comment that it is a powered USB hub, but then realized it was not plugged in :-)

I plugged it in and tried reformatting.  It worked!
Ha Ha!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.