Free up system memory by killing Dashboard widgets
March 10th, 2007 - Mac OS X, Tips & Tricks
I like Dashboard a lot, I really do, but it can be an awful memory hog even when it’s not being used. Once you hit F12, the widgets are loaded and don’t quit automatically which makes accessing them later faster, but it also wastes system resources. It’s not uncommon for each widget to take up 15mb of real ram and over 300mb in virtual memory. Having a bunch of widgets open aimlessly in the background can lead to system slowdowns, so here are three different ways to free up memory and kill the Dashboard temporarily.
Terminal: The easiest way to kill all the Dashboard widgets is by killing the Dock (Dock is the parent process to Dashboard), don’t worry, the Dock will automatically reload in the Finder. Open up the Terminal and type the following:
$ killall Dock
You’ll notice your Dock will disappear and reappear, and if you check Activity Monitor there will no longer be any Dashboard widgets eating up system memory.
Activity Monitor: If you’d prefer to avoid the command line, you can kill the Dock via the Activity Monitor as well. Simply sort by Process Name, select Dock, and hit the big red “Quit Process” button. Once again, the Dock will disappear and reappear, and with it the Dashboard widgets are no longer loaded.

Apple Script: Finally, you can kill the Dock by writing a simple Apple Script found on Mac OS X Hints. The script is very short and simple, just type or paste the following in Script Editor:
tell application "Dock"
quit
launch
end tell

Three methods, same result. Try them out.
Social bookmarks:
- del.icio.us | Digg it | Furl | ma.gnolia | Netscape | reddit | StumbleUpon | Yahoo MyWeb |
Comments:
Comments: 5
Comment from figgy
Time: March 10, 2007, 2:52 pm
Wow! What a difference! I made the script into a little app and even added a custom icon to and added it to my dock. Before running it I opened up Activity Monitor and brought up the CPU Usage window (Apple + 2). Just the difference shutting down widgets makes when the computer is only running Mail and Firefox is significant. This is a very cool option to have for when I have to run a whole bunch of work-related multimedia applications.
What a time saver! Thanks!
Comment from niclet
Time: March 10, 2007, 11:46 pm
Hi,
Thanks for the tips.
I personally use Dashquit for awhile.
http://www.apple.com/downloads/dashboard/status/dashquit.html
The v.1 was just containing the Dock quit/launch procedure but now you can monitor your RAM consumption in v.2. Very handy.
Comment from Checkers
Time: March 12, 2007, 1:14 am
Wow what a difference this makes in performance, a great tip. Thanks as always.
Comment from deck2
Time: March 12, 2007, 1:50 pm
nice! i use dashboard quite little and wanted not to load it at all, this is good alternative.
Comment from DeLeon
Time: March 15, 2007, 12:05 pm
Or use this widget:
http://tinyurl.com/edkb7


Write a comment