• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Error (1000) creating CGSWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Error (1000) creating CGSWindow? (From: Rick Mann <email@hidden>)
 >Re: Error (1000) creating CGSWindow? (From: Joar Wingfors <email@hidden>)
 >Re: Error (1000) creating CGSWindow? (From: Sean McBride <email@hidden>)
 >Re: Error (1000) creating CGSWindow? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Xcode4: attempting to find object IDs w/in IB
  • Next by Date: Re: When new book for Xcode 4.0 will be released?
  • Previous by thread: Re: Error (1000) creating CGSWindow?
  • Next by thread: Re: Error (1000) creating CGSWindow?
  • Index(es):
    • Date
    • Thread