• 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
Xcode 3.2.3 is unbearably slow - garbage collection responsible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 3.2.3 is unbearably slow - garbage collection responsible?


  • Subject: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
  • From: Frank Illenberger <email@hidden>
  • Date: Thu, 01 Jul 2010 00:22:21 +0200

Hi there,

with the current Mac application project I am working on, Xcode 3.2.3 has become unbearably slow. When I type some characters in the source code editor, the app gets slower and slower and after 10 characters or it gets totally unresponsive for about 4 seconds. I checked the activity of Xcode with Instruments' time profiler and found the following hot spots:

Running Time	Running Count		Self %	Total %	Self Run %	Running %	# Self	# Samples	ms Self Run	ms Running	Parent %	Library	Source Path	Symbol Name
3288.0ms   35.5%	 	Auto::MemoryScanner::scan_range(Auto::Range const&, Auto::WriteBarrier*)
2157.0ms   23.2%	 	objc_layout_for_address
787.0ms    8.5%	 	Auto::MemoryScanner::set_pending(void*)
510.0ms    5.5%	 	bool Auto::visitAllocatedBlocks<Auto::scavenge_blocks_visitor>(Auto::Zone*, Auto::scavenge_blocks_visitor&)
331.0ms    3.5%	 	bool Auto::visitAllocatedBlocks<Auto::scan_retained_blocks_visitor>(Auto::Zone*, Auto::scan_retained_blocks_visitor&)

It seems as Xcode is spending 3 seconds collecting garbage after having typed three characters in an editor window. Activity monitor says Xcode grabbed about 800MB of physical memory.
The Xcode project I am working on consists of seven framework projects and an application project.

Has anybody experienced a similar behavior or knows if there is a way to improve this?

Cheers

Frank
 _______________________________________________
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

  • Follow-Ups:
    • Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Re: Mac 10.5 target always building as iPhone
  • Next by Date: Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
  • Previous by thread: Re: gdb crash
  • Next by thread: Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
  • Index(es):
    • Date
    • Thread