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

Posted on 2013-06-27
Last Modified: 2013-06-28
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?


Question by:jayligda
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 53

Expert Comment

ID: 39282623

Author Comment

ID: 39282748
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.

Author Comment

ID: 39283253
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.
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

LVL 47

Accepted Solution

noxcho earned 500 total points
ID: 39283905
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.
LVL 53

Expert Comment

ID: 39284003
I agree. You need a powered USB hub.

Author Comment

ID: 39284683
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!
LVL 53

Expert Comment

ID: 39284706
Ha Ha!

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
robocopy 33 157
Synology and UPS monitoring 2 30
Me. Patrol Video app on a Mac 3 79
Random empty folders on my backup drive?? 10 80
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
We look at whether swapping a controller board on a failed hard drive is likely to solve the problem.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question