Re: Xcode-users Digest, Vol 9, Issue 129
Re: Xcode-users Digest, Vol 9, Issue 129
- Subject: Re: Xcode-users Digest, Vol 9, Issue 129
- From: "James A. Sterling" <email@hidden>
- Date: Tue, 13 Mar 2012 18:30:35 -0400
- Thread-topic: Xcode-users Digest, Vol 9, Issue 129
Who was the blond girl :->
Thanks.. Not even in my youth would I try just about any of this
Well maybe the bike tricks but no way on the diving boards
Jim
On 3/13/12 5:56 PM, "email@hidden"
<email@hidden> wrote:
>Send Xcode-users mailing list submissions to
> email@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/xcode-users
>or, via email, send a message with subject or body 'help' to
> email@hidden
>
>You can reach the person managing the list at
> email@hidden
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Xcode-users digest..."
>
>
>Today's Topics:
>
> 1. Re: Xcode 4.3.1 memory usage (Brad Oliver)
> 2. Re: Xcode 4.3.1 memory usage (Brad Oliver)
> 3. Re: Xcode 4.3.1 memory usage (Alex Zavatone)
> 4. Re: Xcode 4.3.1 memory usage (Fritz Anderson)
> 5. Re: Can we delete the whole /Developer directory now?
> (Geoff Beier)
> 6. Re: Can we delete the whole /Developer directory now? (G S)
> 7. Re: Can we delete the whole /Developer directory now?
> (David Duncan)
> 8. Re: Can we delete the whole /Developer directory now?
> (Fritz Anderson)
> 9. Re: Can we delete the whole /Developer directory now?
> (Geoff Beier)
> 10. Re: Can we delete the whole /Developer directory now?
> (Nick Zitzmann)
> 11. Re: Xcode 4.3.1 memory usage (Alex Zavatone)
> 12. Re: is there a way to replace instances of a string only
> within selected text? (Eric A. Borisch)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 13 Mar 2012 14:05:15 -0700
>From: Brad Oliver <email@hidden>
>To: email@hidden
>Subject: Re: Xcode 4.3.1 memory usage
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset=us-ascii
>
>On Mar 13, 2012, at 1:29 AM, Lennart Thelander wrote:
>
>> Hello,
>>
>> With 16GB of RAM, I would not worry.
>
>
>Well, I *am* worried because it *is* paging badly. ;-)
>
>If I had 32 GB of RAM, I assume I'd be in the clear once again, but I can
>save myself some money and simply quit and quickly relaunch Xcode to
>solve my issue for now. It's almost comical.
>
>--
>Brad Oliver
>email@hidden
>
>
>
>
>------------------------------
>
>Message: 2
>Date: Tue, 13 Mar 2012 14:08:46 -0700
>From: Brad Oliver <email@hidden>
>To: email@hidden
>Subject: Re: Xcode 4.3.1 memory usage
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset=windows-1252
>
>On Mar 13, 2012, at 12:19 PM, Jens Alfke wrote:
>
>> Are you building large C++ projects by any chance? It¹s been my
>>experience that large C++ builds have always created tremendous memory
>>usage, both by the compiler processes, the linker and Xcode itself. For
>>instance building Chrome takes at least 16GB of RAM if you don¹t want to
>>be bogged down in VM thrash.
>
>
>I am building a large C++ project, yes. Someone else mentioned offline
>that lldb may be complicit, so I'm going to switch back to gdb for a bit
>and see if that keeps Xcode's creeping memory usage down.
>
>As described in my original, I see the thrashing when 8 Clang instances
>fire up, each consuming 1 to 2 GB each *and* Xcode is also taking up some
>7+ GB.
>
>All is fine at the start of my workday when Xcode's usage is in the 1-2
>GB range.
>
>--
>Brad Oliver
>email@hidden
>
>
>
>
>------------------------------
>
>Message: 3
>Date: Tue, 13 Mar 2012 17:14:59 -0400
>From: Alex Zavatone <email@hidden>
>To: Crispin Bennett <email@hidden>
>Cc: email@hidden, Brad Oliver <email@hidden>
>Subject: Re: Xcode 4.3.1 memory usage
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset="utf-8"
>
>I'm betting it's javascript and Flash. Please note that this is not
>under Lion, but Snow Leopard.
>
>Right now, I've got iTunes, Safari and Xcode 4.2 open + a few other small
>apps.
>
>In the past 2 hours, memory usage has gone from 6 GB used to 6.73 GB
>free. Xcode 4.2 doesn't have any projects open and it's using 1.31 GB of
>virtual, Safari Content is at 1.47 (22 windows open) and Safari itself
>500 MB.
>
>It will creep up, but I'm sure we all don't have time to figure this one
>out.
>
>I still have a 400 dollar paperweight I have to get restored to iOS 5.0.1
>before I can get back to business.
>
>
>On Mar 13, 2012, at 5:02 PM, Crispin Bennett wrote:
>
>>
>> On 14/03/2012, at 5:29 AM, Alex Zavatone wrote:
>>
>>> Nope. Just iOS apps. Nothing terribly demanding.
>>>
>>> Safari's a large part of the bloat though. The new Safari's total
>>>garbage with the app bogging down and deciding it needs to reload every
>>>page, often at times when I am not connected to the network and then I
>>>lose the content of the pages I had up.
>>>
>>> YouTube movies seem to load into memory and never get released. Even
>>>when all the pages are closed. Some data structures are definitely
>>>getting stuck in memory. I've been forced to load as many Flash movies
>>>in an External QuickTime 7 Player and that's been helpful.
>>>
>>
>> I don't find this. Might it be Flash itself rather than Safari causing
>>the problems? (I expunged the Flash plugin long ago).
>>
>
>- Alex Zavatone
>
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.apple.com/archives/xcode-users/attachments/20120313/a20eb982
>/attachment.html>
>
>------------------------------
>
>Message: 4
>Date: Tue, 13 Mar 2012 16:18:52 -0500
>From: Fritz Anderson <email@hidden>
>To: Brad Oliver <email@hidden>
>Cc: email@hidden
>Subject: Re: Xcode 4.3.1 memory usage
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset=windows-1252
>
>On 13 Mar 2012, at 4:00 PM, Brad Oliver wrote:
>
>> Sorry I wasn't clearer. I'm measuring RSIZE.
>
>Then don't. RPRVT measures the memory solely attributable to a particular
>process. RSIZE adds to that the memory it shares with other processes.
>RSIZE is wrong for your purpose.
>
> F
>
>
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 13 Mar 2012 17:25:01 -0400
>From: Geoff Beier <email@hidden>
>To: G S <email@hidden>
>Cc: xcode-Users List <email@hidden>
>Subject: Re: Can we delete the whole /Developer directory now?
>Message-ID:
> <email@hidden>
>Content-Type: text/plain; charset="iso-8859-1"
>
>On Tue, Mar 13, 2012 at 17:02, G S <email@hidden> wrote:
>
>> Since everything is piled inside Xcode.app now, is there any reason to
>> keep the old stuff in /Developer?
>>
>>
>For me, there was actually a compelling reason to delete (or at least
>rename) it. I use a fair few things that build from the command line, and
>it's not altogether uncommon for those build scripts to contain hardcoded
>paths pointing into /Developer. If there's an old version of the tools and
>SDKs sitting under there, the scripts can appear to succeed now then break
>later in hard-to-troubleshoot ways when used in combination with things
>built against new SDKs. If you delete or rename /Developer, anything
>that's hardcoded to use that will break earlier and in such a way that
>it's
>easier to see what you need to fix.
>
>Geoff
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.apple.com/archives/xcode-users/attachments/20120313/cde53c0f
>/attachment.html>
>
>------------------------------
>
>Message: 6
>Date: Tue, 13 Mar 2012 14:27:29 -0700
>From: G S <email@hidden>
>To: Geoff Beier <email@hidden>
>Cc: xcode-Users List <email@hidden>
>Subject: Re: Can we delete the whole /Developer directory now?
>Message-ID:
> <email@hidden>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Yep, that's part of my motivation. Thanks.
>
>So I guess you haven't had any problems with it?
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.apple.com/archives/xcode-users/attachments/20120313/19b0484c
>/attachment.html>
>
>------------------------------
>
>Message: 7
>Date: Tue, 13 Mar 2012 14:27:35 -0700
>From: David Duncan <email@hidden>
>To: G S <email@hidden>
>Cc: xcode-Users List <email@hidden>
>Subject: Re: Can we delete the whole /Developer directory now?
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset=us-ascii
>
>On Mar 13, 2012, at 2:02 PM, G S wrote:
>
>> Since everything is piled inside Xcode.app now, is there any reason to
>>keep the old stuff in /Developer?
>
>Nope.
>--
>David Duncan
>
>
>
>
>------------------------------
>
>Message: 8
>Date: Tue, 13 Mar 2012 16:31:04 -0500
>From: Fritz Anderson <email@hidden>
>To: G S <email@hidden>
>Cc: xcode-Users List <email@hidden>
>Subject: Re: Can we delete the whole /Developer directory now?
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset=windows-1252
>
>On 13 Mar 2012, at 4:02 PM, G S wrote:
>
>> Since everything is piled inside Xcode.app now, is there any reason to
>>keep the old stuff in /Developer?
>
>Not unless somebody installed a private framework into it, or you need an
>SDK that isn't in the new Xcode (in which case it's recommended you use
>the Xcode that came with the SDK).
>
>Before you get rid of /Developer, check for apps in
>/Developer/Applications that didn't make the transition to Xcode 4.3, and
>put them elsewhere if you still need them. Property List Editor is one I
>know of that can't be replaced. Compare your needs against the optional
>installs you can find through the Xcode > Open Developer Tool > More
>Developer Tools command.
>
> F
>
>
>
>
>------------------------------
>
>Message: 9
>Date: Tue, 13 Mar 2012 17:37:46 -0400
>From: Geoff Beier <email@hidden>
>To: G S <email@hidden>
>Cc: xcode-Users List <email@hidden>
>Subject: Re: Can we delete the whole /Developer directory now?
>Message-ID:
> <email@hidden>
>Content-Type: text/plain; charset="iso-8859-1"
>
>On Tue, Mar 13, 2012 at 17:27, G S <email@hidden> wrote:
>
>>
>> So I guess you haven't had any problems with it?
>>
>>
>We've had many small headaches. Most have been things that should've been
>querying xcode-select all along rather than making assumptions about where
>the tools live. We use cmake quite a bit, too, though. That's been a
>larger
>headache with this transition than with previous ones. I'm in the final
>stages of wrestling that into submission, and will likely write a blog
>post
>about that because google has been singularly unhelpful.
>
>I haven't had any problems large enough to contemplate reverting to 4.2.
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.apple.com/archives/xcode-users/attachments/20120313/e8b88553
>/attachment.html>
>
>------------------------------
>
>Message: 10
>Date: Tue, 13 Mar 2012 15:39:34 -0600
>From: Nick Zitzmann <email@hidden>
>To: G S <email@hidden>
>Cc: email@hidden
>Subject: Re: Can we delete the whole /Developer directory now?
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset=us-ascii
>
>
>On Mar 13, 2012, at 3:02 PM, G S wrote:
>
>> Since everything is piled inside Xcode.app now, is there any reason to
>>keep the old stuff in /Developer?
>
>Only if you still need Syncrospector, which AFAICT is the only developer
>tool that was discontinued in Xcode 4.3. Other than that, no.
>
>Nick Zitzmann
><http://www.chronosnet.com/>
>
>
>
>
>------------------------------
>
>Message: 11
>Date: Tue, 13 Mar 2012 17:40:27 -0400
>From: Alex Zavatone <email@hidden>
>To: Brad Oliver <email@hidden>
>Cc: email@hidden
>Subject: Re: Xcode 4.3.1 memory usage
>Message-ID: <email@hidden>
>Content-Type: text/plain; charset="windows-1252"
>
>I am sharing my cores and using shared cores over the network. (10.6.8,
>Xcode 4.2, 16 GB, 2.3 GHz quad i7)
>
>Just by building the UICatalog app, cleaning, bulding, I've seen memory
>go up from 1.31 GB of virtual to 1.34. It's at 1.32 now.
>
>Also, every build makes the real memory used creep up by .1 - .3 MB.
>
>Don't have time to test as of now, but the real memory used it's been
>going up every several builds. It's at 909.0 MB now and was at 908.6
>when I started a few mins ago.
>
>Would be pretty easy to set up an AppleScript to automate a simple build
>and see if this is it.
>
>
>On Mar 13, 2012, at 5:08 PM, Brad Oliver wrote:
>
>> On Mar 13, 2012, at 12:19 PM, Jens Alfke wrote:
>>
>>> Are you building large C++ projects by any chance? It¹s been my
>>>experience that large C++ builds have always created tremendous memory
>>>usage, both by the compiler processes, the linker and Xcode itself. For
>>>instance building Chrome takes at least 16GB of RAM if you don¹t want
>>>to be bogged down in VM thrash.
>>
>>
>> I am building a large C++ project, yes. Someone else mentioned offline
>>that lldb may be complicit, so I'm going to switch back to gdb for a bit
>>and see if that keeps Xcode's creeping memory usage down.
>>
>> As described in my original, I see the thrashing when 8 Clang instances
>>fire up, each consuming 1 to 2 GB each *and* Xcode is also taking up
>>some 7+ GB.
>>
>> All is fine at the start of my workday when Xcode's usage is in the 1-2
>>GB range.
>>
>> --
>> Brad Oliver
>> email@hidden
>>
>>
>> _______________________________________________
>> 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
>
>- Alex Zavatone
>
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.apple.com/archives/xcode-users/attachments/20120313/5e424284
>/attachment.html>
>
>------------------------------
>
>Message: 12
>Date: Tue, 13 Mar 2012 16:56:34 -0500
>From: "Eric A. Borisch" <email@hidden>
>To: Geoff Beier <email@hidden>
>Cc: Xcode Users <email@hidden>
>Subject: Re: is there a way to replace instances of a string only
> within selected text?
>Message-ID:
> <CAASnNnr+776MgHhtg7MjY0=email@hidden>
>Content-Type: text/plain; charset=ISO-8859-1
>
>On Tue, Mar 13, 2012 at 2:20 PM, Geoff Beier <email@hidden> wrote:
>> I know this used to be possible, but I can't find it in Xcode 4's UI. In
>> Xcode 3, when you brought up the replace dialog and held option,
>>replace all
>> became replace in selection. Is there an equivalent mechanism in Xcode
>>4?
>
>The closest thing you can do is select the instances in the found
>results list that you want to replace... Not ideal, but likely quicker
>than jumping over to a real editor like vim. ;)
>
> - Eric
>
>
>------------------------------
>
>_______________________________________________
>Xcode-users mailing list
>email@hidden
>https://lists.apple.com/mailman/listinfo/xcode-users
>
>End of Xcode-users Digest, Vol 9, Issue 129
>*******************************************
_______________________________________________
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