Mac running out of resources?
I've had my Mac appear to run out of resources a couple of times now and I can't narrow it down to find exactly what is causing it:
I usually notice that this is happening when it refuses to Command-Tab between applications. The task switcher just doesn't come up. It feels like there are no resources left to draw it. None of the open applications will draw menus, or other dialogs, either.
I just had it happen again and FireFox crashed with the following error:
NSInternalInconsistencyException: Error (1007) creating CGSWindow
As far as I can tell, the error seems to back up my observation that either something is causing the window server to fail or the Mac is somehow running out of resources. I've got 4GB RAM and over 175GB of free space on the hard drive so I have a hard time believing that it really is a resource issue.
This time around, I only had TextMate, Twhirl, QuickSilver, and FireFox running when this happened. QuickSilver seems to have crashed, and I shut down Twhirl and restarted FireFox and things seem to be back to normal now. I wonder if one of those three are somehow responsible. At the end of the day, though, this points to a bug with the window server itself as no single application should be able to take affect the whole system like that.
I've had this happen to me on my older MacBook Pro and also on my latest one (unibody).
Have you run into this at all? If so, please leave a comment detailing your experiences. Maybe together we can track down the cause and submit a comprehensive bug report to Apple.
Related reports from around the web:
From: http://forums.omnigroup.com/showthread.php?t=9233: The Error (1007) creating CGS Window is something I have seen far too much of on Leopard when using memory intensive apps (e.g. RapidWeaver often fails to publish for me with this error message - my site is very large and uses a lot of RAM to publish). I suspect it is an OS bug rather than an app specific one, but it is incredibly annoying when it occurs. If you check out all the messages in console do you also start to see lots of malloc errors around the same time? That has been another symptom I have seen when this error occurs.
Comments
by Andrea Trasatti on 2009-01-11 16:50:17
by Adam on 2009-01-09 12:29:31
by Mark Wubben on 2009-01-09 11:56:42
by Richard Leggett on 2009-01-09 13:22:42
by Jim O'Donnell on 2009-01-09 12:06:02
by Adam on 2009-01-09 11:44:14
by John Cotterell on 2009-01-09 10:47:11
by John B on 2009-01-09 14:32:20
by Louis Muloka on 2009-01-09 15:18:55
by Jason Langdon on 2009-01-10 12:53:02
by KM on 2009-01-11 03:29:08