Re: Error (1000) creating CGSWindow?
Re: Error (1000) creating CGSWindow?
- Subject: Re: Error (1000) creating CGSWindow?
- From: David Duncan <email@hidden>
- Date: Thu, 24 Mar 2011 10:27:17 -0700
On Mar 24, 2011, at 7:51 AM, Scott Ribe wrote:
> For the resource limit, does each tab in Safari count as a window? If so, that might explain my encounters with this error, as opposed to a resource leak in some application.
All of the tabs in a Safari window should count for 1 window (that is, tabs do not define windows). That said, it is possible to have 1 "window" that is made up of multiple CGSWindows (really a trick in that the developer uses an overlay window over another window for some effect – it looks like 1 window, but is 2 CGSWindows).
> FWIW, I tried exploring the limits for open windows on a 32-bit app, and found that it would start to fail somewhere in the 400s of windows open.
Sounds about right. This used to be a bigger issue in 10.5 and below when NSImage used windows for caching.
On Mar 24, 2011, at 8:03 AM, Jean-Daniel Dupas wrote:
> Thank you for the tip, but AFAIR, the Xcode teams removed the "Windows list" feature from Quartz Debug for some time now.
> Actually, it is not exactly removed, only the menu item use to open it is missing, but the result is the same.
You can use the SonOfGrab sample to do the same thing.
<http://developer.apple.com/library/mac/#samplecode/SonOfGrab/Introduction/Intro.html>
--
David Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden