
Quick Scan
Two Different Kinds of Crashes: application crashes and computer crashes.
How to Force Quit and Hard Restart.
Avoiding Crashes with more RAM and disk space.
What to Do When Your Mac Crashes
Yes, it's our dirty little secret: Macs crash. Not very often, but they do. Freezing, spinning beach balls, Kernel Panics. Yikes! Follow these steps to get past the most common Mac crashes and on with your day.
Two Different Kinds of Crashes. The first thing to learn about Mac crashes is that there are two types: application crashes and computer crashes. The first kind, application crashes, are known by either the endlessly "Spinning Beach Ball of Death" (SBBOD), or the nice little alert message that comes up saying, "the application ___ quit unexpectedly." The other kind is when your whole computer crashes and is not responsive. This will be obvious because either no mouse or keyboard click will effect anything, or worse, in a Kernel Panic (nice name, huh?) a gray image with text in many languages descends from the top of your screen like a premature curtain dropping on a bad stage show.
Spinning Beach Ball of Death. Although the name is based on the famous Blue Screen of Death from the Windows world, it's not quite as bad as that. You will see the SBBOD when your Mac is taking a while to "think" about something. Sometimes it may just be for a few seconds and then your normal cursor returns. I suggest waiting 30 seconds or so before taking more drastic action. Sometimes, it is just waiting for your hard drive to spin back up and get ready to be used after inaction.
Because the Mac allocates memory in RAM dynamically, it will often swap information from the faster RAM memory to slower storage on your hard drive and back again. Increasing the amount of RAM memory in your Mac will decrease this swapping and being stuck with the SBBOD.
What to Do First. If you are seeing the SBBOD, determine if the crash is just an application or the whole computer. The quick way to do this is move your cursor away from the window you were working in and over another application or Finder window. If it turns back into a arrow cursor, it's an application freeze or crash, and you can click the other application to bring it to the front. If you can't see another window or the desktop, use the key combination Cmd-Tab to bring up the Application Switcher and hit Tab a few times to select a different application. If neither of these things work, it's a full computer crash, so skip ahead to Hard Restart.
Force Quitting. Once you are in another application, you can "Force Quit" the crashed application in 3 different ways. The first is the Force Quit dialog box. This is the equivalent of the Control-Alt-Delete function to get the Close Program box in Windows. Click the Apple Menu, select "Force Quit…", or use the key combination Option-Cmd-Escape. In the box, select the crashed program from the list of running programs (it's probably colored in red text). The second way to Force Quit is to Control-click (Right-click) the application icon in the dock and select Force Quit from the pop up menu. The last way is to open the Activity Monitor utility in the Utilities folder, select the crashed program from the list and click the "Quit Process" button at the top. I have Activity Monitor running at all times, so I just click over to it. See below for more on Activity Monitor.
Unfortunately, Force Quit doesn't always work the first time. I often run through all 3 ways of doing it to get the program to quit. If you can't get the program to close using these techniques, switch to your other programs, save and close them, then do a Hard Restart.
Hard Restart. This is for when your computer is not responding to any input. Before doing this, try to use the application switcher (Cmd-Tab) to switch to another program. If Cmd-Tab doesn't bring anything up, you are very likely stuck with a Hard Restart. To do a Hard Restart (or Hard Reboot), hold down the Power button on your Mac for 5 seconds or more. This should turn it off. Once off, press the Power button again to start back up. Unfortunately, doing this will cause you to lose any unsaved work you may have been doing prior. If pressing the Power button for a while doesn't turn off your Mac, you will need unplug it (and remove the battery as necessary).
Persistent Crashes. If your Mac keeps crashing over and over again even after restarts, check for these two likely culprits: Permissions and bad RAM. Bad RAM seems to be the number one cause of persistent crashes. If you have bought additional RAM and installed it, run Apple Hardware Test. See below for a link to directions.
Another diagnostic that you can do is to check and repair permissions from Disk Utility. See the link below in Dig Deeper for a guide. Also, don't forget you can bring in your new Mac to your nearest Apple Store to have one of the Mac Geniuses take a look at it for you.
Avoiding Crashes. My experience is that most crashes are memory related. Data is being swapped back and forth from RAM to your Mac's hard drive all the time, and sometimes it doesn't go perfectly. You can decrease this activity somewhat by buying more RAM and keeping fewer programs open at once. I usually have 10 or more programs open at once, but I also have 3.5G of RAM to help out.
It also helps to not use the last available bits of your hard drive. Try going through iPhoto and weeding out photos that you clearly will never use. Even after deleting the photos, they are still in your iPhoto Trash. To really delete them, you need to select Empty Trash from the iPhoto menu. Another way to clear up a huge amounts of space is to go through your iMovie files and empty the trash in the files by selecting Empty Trash from the iMovie File menu. If you want to see what's in the trash first, click the Trash icon in the lower right of the iMovie window and then click the Empty Trash button. You will be surprised at how much space is wasted in the trash of iMovie files! If you are still getting down to the last few available Gigs of space available, it's time to upgrade or add another hard drive.
I'd like to tell you that Macs never crash, but if you are reading this, you already know our little secret: they do. There is some consolation in knowing that when your applications crash, they usually don't take your whole Mac down with them and can be dealt with fairly easily. Think of the occasional crash as a suggestion to make using Cmd-S (Save) the first key combination you know by heart. Practice it often!
A Note About Activity Monitor. Use Activity Monitor to get a real time view into your Mac processes and how it is allocating memory. Click System Memory and Disk Usage to find out how much RAM and hard drive space is being used. I especially like to turn its icon in the Dock into a real time bar graph about how hard your Mac's processors are working. You can select Dock Icon > Show CPU History in the program's View menu to do it yourself. I have used the setting in System Preferences > Accounts > Login Items to launch Activity Monitor and hide it whenever I log in. You might want to try it too.
Did I miss something? What do you do when your Mac is crashing? Do you have some additional tips or questions to share? Use the Comments section below to let us know!
DIG DEEPER
Mac 360 - What Do You Do When Your Mac Crashes?
From the X Lab
The Spinning Beach Ball of Death
Resolving Kernel Panics
Problems from insufficient RAM and free hard disk space
Mac OS X - Using Disk Utility to Repair a Disk
This button is an easy way to let readers bookmark articles on Digg, Del.icio.us, Stumbleupon, Google Bookmarks and other services with a single click. You can find out more about Social Bookmarking here. |
||
Most Popular Articles
How Do I Make a Backup Copy of My Software DVDs?
What to Do When Your Mac Is Really Screwed, Or How To Reinstall Your Mac OS X
It’s Time For Apple to Start Lowering Macworld Expectations
The Next 5 Things to Do After Starting Up Your New Mac
Welcome New Mac Owners - Here Are Some Tips to Get You Started
Mac Link of the Day
Why I'd Buy Apple TodayRead the bottom half about buying a PC versus a Mac: "I'd rather get a second job in Starbucks and use the extra money to upgrade to a Mac."
-Wall Street Journal



Your Comments:
Phil
06/11/2007 at 08:54 PM
pirco
06/12/2007 at 03:01 PM
Amster
07/14/2007 at 10:38 AM
I was a switcher from windows, tired of constant windows problems, that switched to Mac 3 years ago. I am also a power user that uses loads of heavy programs at the same time, programs like Dreamweaver, Photoshop, Illustrator, Maya, After Effects, Premiere, etc.
I have a mac mini and an iMac. I use all those programs, many at the same time, on both machines and I my Macs never crashed. Yes, read my lips... NEVER CRASHED in 3 years!
Eventually, some bad written programs hang. Then you force quit the application and everything is back to normal.
One thing I learned about Macs is: as a previous windows user I assume that everytime I see the spinning beach ball, the system is frozen, but this is not true. This is an assumption you bring from windows. The beachball is really a sign that the system is busy. If you wait, the system will return to normal.
All windows users assume that the MacOS X system hanged at a minimum signal of something out of normal, but in fact, everytime the system comes back after a while (after the system get rid of the bad written application).
Mike
07/14/2007 at 10:46 AM
In the past 5 years of using my 8-year-old laptop running XP, it's crashed twice. Even my iPod has crashed more than my PC (it almost bricked itself while updating), and it's only a year old.
I must be doing SOMETHING incredibly wrong - because Macs normally don't crash, right? Although to the Mac geeks' credit, Vista sucks.
also, I like how the title says "when" your Mac crashes, not "if".
Daniel
07/14/2007 at 01:31 PM
Though to be quite honest these issues are rare especially if you learn how to maintain your Mac-both software and hardware. This article is a great start and covers how to recover from most crashes and offers some invaluable insights into preventing them without getting into the gory-geeky details.
I personally run all my maintenance from Terminal and configure my crontab file(scheduled maintenance file) manually in Textedit. But for those of you who don't care to get into that-and I understand-I recommend a GUI front end for most of these functions called OnyX-which also provides options for many interface and core application enhancements not presently avaiable in the Apple supplied GUI.
James G
07/14/2007 at 03:42 PM
Gonzie
07/15/2007 at 05:42 PM
real life: 1 stupid mac commercials: 0
i love macs to death, but those mac vs pc commercials really make me angry. my pc has never really crashed on me with out me provoking it (ie: terminating explorer.exe on accident :D). if my pc never really crashes...i hope when i get a mac it will never even think about crashing. anyway, i was at my friend's house and he was using his imac...i was totally shocked when my is just crashed. It crashed just like windows 0_0. i hope that really isn't that common.
Austin
07/15/2007 at 11:56 PM
However, i am very happy with the OS in general and after beeing a PC user for 10 years i am convinced i did the right thing. And i am very happy i found this website.
Jinx
07/20/2007 at 03:11 PM
Kristin
07/28/2007 at 11:06 AM