Chris Mar's Weblog Blog Different

Wednesday May 25, 2005

If you haven't been paying attention to the memory usage of your Dashboard Widgets, you should check out how much Active Memory they are taking up via your "/Applications/Utilities/Activity Monitor". If you hadn't noticed their memory usage is always increasing. After running 4 Apple supplied Widgets: Weather, Stocks, Calculator and Dictionary, for a week they were taking up to 20 MB each! They start around 6 MB when launched, but as time goes by they take more and more memory. I actually noticed my computers performance decreasing which lead me to this discovery. Others, have reported the same issue, with some people claiming their Widgets are using up to 300 MB.

For now, I've removed all Widgets from my Dashboard until Apple releases a patch. As a fix, you can restart the dock since the Dashboard process is owned by it. Or you can manually remove the Widgets from the Dashboard. Using Activity Monitor, you can "kill" the Widgets and they will restart.

If you guys check out your Widget memory usage and its huge, let me know. My friends Weather widget was taking 75 MB of Active Memory!

I can't believe the amount of hits this article is getting. Seems like more people are finally realizing this is a major issue. 10.4.2 is due soon, hopefully they will have a fix.

The current record holder in the comments is 517M for the Weather Widget!
Comments:

Wow, I had not checked the memory usage of my widgets yet... holy cow they are sucking up the memory. Killed them all for now.

dl

Posted by Dan Lacher on May 25, 2005 at 09:57 AM EDT #

I found your site by googling for "Dashboard widget memory leaks." I had noticed my memory usage had been up significantly recently. After checking the resident memory size (rsize) with the "top" command in the terminal I noticed my four largest memory users were Dashboard processes. Each of the four was using between 128MB to 130MB. I opened Dashboard and closed all of my widgets and these memory hog processes ended and my memory was freed. For reference, my uptime when this happened was merely 4 days, 12 hours. -Jon

Posted by Jonathan on June 05, 2005 at 04:44 PM EDT #

My weather widget hit 517mb.

Posted by Ben Lewis on June 19, 2005 at 10:59 AM EDT #

Congratulations -- Google thinks you're the most relevant hit for Dashboard memory leaks. At least once a day, my PowerBook with 768 MB RAM slows to the point of unusability. My six widgets take up a combined 200-300 MB RAM at any moment during this time. It's a big pain.

Posted by Jason on June 23, 2005 at 10:49 AM EDT #

Yeah, I just hit this site via google wondering if there was any information on this bug after noticing Dashboard taking monumental amounts of memory. Rather than just individually removing my widgets, I disabled Dashboard completely, (hopefully I can bring it back to life after 10.4.2) to disable dashboard, copy this command to the terminal: defaults write com.apple.dashboard mcx-disabled -boolean YES killall Dock To bring it back: defaults write com.apple.dashboard mcx-disabled -boolean NO killall Dock You need to restart the Dock with 'killall Dock' for the change to take effect.

Posted by John Noonan on June 29, 2005 at 05:27 PM EDT #

Whoa, no line breaks! Those commands should read:

defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock

defaults write com.apple.dashboard mcx-disabled -boolean NO

killall Dock

Good luck

Posted by John Noonan on June 29, 2005 at 05:29 PM EDT #

Well, at least it seems that Apple is aware of the problem. See this message that came over the Dashboard developer's mailing list: http://lists.apple.com/archives/Dashboard-dev/2005/Jun/msg00063.html

Posted by Jonathan Jacobs on July 06, 2005 at 11:03 AM EDT #

visage surveillance is desgined to capture and record all user activities on a pc. http://www.yaodownload.com/utilites/security-encryption/visage-surveillance/

Posted by marc dale on April 19, 2006 at 03:45 AM EDT #

Still getting hits using 10.4.7 (intel). My wife's brand new MacBook has been running intolerably slow. I opened up Activity Monitor, and there sit her two Weather Widgets fatter than NeoOffice..... Now it's running like it was....brand new....

Posted by n[ate]vw on September 10, 2006 at 01:30 AM EDT #

Has anyone found a cure for this problem? Since adding a couple of widgets to my website I noticed a huge chunk of memory is being used. I would greatly appreciate a fix to this problem.

Thank You Sincerely,

Ken

Posted by Ken on April 03, 2009 at 06:02 PM EDT #

Ha thanks very much for this, i noticed performence slowing on my work terminal and had a look at the other users on the machine. One ex employee had a dashboard clock using 1.10GB of real memory yes GB! no wonder my side was slow.

lol

Posted by Simon on May 05, 2009 at 06:01 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed