Re: Xcode constantly eating Ram
Re: Xcode constantly eating Ram
- Subject: Re: Xcode constantly eating Ram
- From: Feifan Zhou <email@hidden>
- Date: Fri, 30 Sep 2011 17:29:26 -0400
I am seeing this as well, with all versions of Xcode 4. Opening Xcode takes up about 150MBs of RAM. The Organizer balloons it up into the 200s, and using the documentation really has an impact (400MBs, even). Just generally using it (coding, IB, compiling), it often goes up to half a gigabyte or more, leading to swapping and paging...it's a mess. You're not alone.
On Fri, Sep 30, 2011 at 15:09,
<email@hidden> wrote:
Send Xcode-users mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://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: How can I programmatically add build files to Xcode4?
(Jerry Krinock)
2. Re: To update or not to update (Joar Wingfors)
3. Re: How can I programmatically add build files to Xcode4?
(Clemens Grossmann, Palugu)
4. Re: How can I programmatically add build files to Xcode4?
(Stefan Haller)
5. Xcode constantly eating Ram (Gerriet M. Denkmann)
6. Re: To update or not to update (Christiaan Hofman)
7. Re: How can I programmatically add build files to Xcode4?
(Jeff Stedfast)
8. Re: To update or not to update (Joar Wingfors)
9. Re: To update or not to update (Matt Neuburg)
----------------------------------------------------------------------
Message: 1
Date: Thu, 29 Sep 2011 21:29:27 -0700
From: Jerry Krinock <email@hidden>
Subject: Re: How can I programmatically add build files to Xcode4?
To: XCode Users <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=windows-1252
On 2011 Sep 27, at 12:09, Jeff Stedfast wrote:
> I've been trying to figure out how to programmatically add files to an Xcode4 project and it seemed like AppleScript would be the way to go, however I'm running into "missing value" errors.
Jeff, I did not read your script, because based on my own experience with Xcode 4.1 and AppleScript, I already know the answer. AppleScriptability is almost completely broken in Xcode 4.1. Search the list archives, and on the Apple Developer forum, and you will see others reporting same. There are a maybe few simple commands that still work. Adding build files is quite substantial. Forget it.
> Any help would be greatly appreciated!
If AppleScriptability is important to you, you must revert to Xcode 3. File a bug, be very patient, hope and pray.
What "dot" version of Xcode 4 are you using?
------------------------------
Message: 2
Date: Thu, 29 Sep 2011 22:10:23 -0700
From: Joar Wingfors <email@hidden>
Subject: Re: To update or not to update
To: Christiaan Hofman <email@hidden>
Cc: XCode Users <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=us-ascii
On 29 sep 2011, at 14:51, Christiaan Hofman wrote:
> So then why does App Store offer me an Update button when I cannot update? And why does it tell me the wrong reason why it fails?
I'm afraid that I don't know the answers to those questions. Please contact ADC for assistance.
j o a r
------------------------------
Message: 3
Date: Fri, 30 Sep 2011 10:08:02 +0200
From: "Clemens Grossmann, Palugu" <email@hidden>
Subject: Re: How can I programmatically add build files to Xcode4?
To: XCode Users <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=utf-8
Has anyone expierence with using cmake or gyp together with XCode4 to build projects programmatically?
Schönen Gruss
Clemens
Am 30.09.2011 um 06:29 schrieb Jerry Krinock <email@hidden>:
>
> On 2011 Sep 27, at 12:09, Jeff Stedfast wrote:
>
>> I've been trying to figure out how to programmatically add files to an Xcode4 project and it seemed like AppleScript would be the way to go, however I'm running into "missing value" errors.
>
> Jeff, I did not read your script, because based on my own experience with Xcode 4.1 and AppleScript, I already know the answer. AppleScriptability is almost completely broken in Xcode 4.1. Search the list archives, and on the Apple Developer forum, and you will see others reporting same. There are a maybe few simple commands that still work. Adding build files is quite substantial. Forget it.
>
>> Any help would be greatly appreciated!
>
> If AppleScriptability is important to you, you must revert to Xcode 3. File a bug, be very patient, hope and pray.
>
> What "dot" version of Xcode 4 are
------------------------------
Message: 4
Date: Fri, 30 Sep 2011 10:32:41 +0200
From: email@hidden (Stefan Haller)
Subject: Re: How can I programmatically add build files to Xcode4?
To: email@hidden (Clemens Grossmann, Palugu),
email@hidden (XCode Users)
Message-ID: <1k8el10.7ruo8v57p9pdM%email@hidden>
Clemens Grossmann, Palugu <email@hidden> wrote:
> Has anyone expierence with using cmake or gyp together with XCode4 to
> build projects programmatically?
Yes, I recently experimented with gyp to generate an .xcodeproj file.
It worked quite well, both with Xcode 3 and 4.
--
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
------------------------------
Message: 5
Date: Fri, 30 Sep 2011 16:59:13 +0700
From: "Gerriet M. Denkmann" <email@hidden>
Subject: Xcode constantly eating Ram
To: email@hidden
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=utf-8
I created in Xcode 4.1 a new document based OS X app and named it "Test"; did not change anything.
Then I opened TestDocument.m in TextEdit (but did not do anything more)
Then I changed a comment line in TestDocument.m using the Xcode editor.
for(;;)
{
hit Run button in Xcode
wait for "Test" to start
hit Stop button in Xcode
note Activity Monitor → System Memory → Used:
}
I noticed that the Used Ram increases by about 15 MB in every iteration of the loop above .
This does not seem much, but the consequences are that in a normal working day:
Free Ram goes to almost zero, page out starts, swapfile increases, and everything becomes much, much slower → need to reboot the computer at least once a day.
What is going on?
Please note that I usually do *not* use the Xcode editor for most of my work. So the suggestion "Just do not open a source file in TextEdit" does not really help.
Kind regards,
Gerriet.
------------------------------
Message: 6
Date: Fri, 30 Sep 2011 12:09:37 +0200
From: Christiaan Hofman <email@hidden>
Subject: Re: To update or not to update
To: Joar Wingfors <email@hidden>
Cc: XCode Users <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=us-ascii
On Sep 30, 2011, at 7:10, Joar Wingfors wrote:
>
> On 29 sep 2011, at 14:51, Christiaan Hofman wrote:
>
>> So then why does App Store offer me an Update button when I cannot update? And why does it tell me the wrong reason why it fails?
>
>
> I'm afraid that I don't know the answers to those questions. Please contact ADC for assistance.
>
> j o a r
>
>
Perhaps someone can (finally) tell me the update policy that Apple now takes for Xcode? As I cannot find that information anywhere on the developer site or anywhere else. I would really like to know what I am paying for when I buy something, and I would like to know what different options for paying actually mean before I choose between them. Right now I don't even know this long *after* the fact, and it seems to me that Apple revises its offers after they were payed for.
Christiaan
------------------------------
Message: 7
Date: Fri, 30 Sep 2011 09:50:39 -0400
From: Jeff Stedfast <email@hidden>
Subject: Re: How can I programmatically add build files to Xcode4?
To: Jerry Krinock <email@hidden>
Cc: XCode Users <email@hidden>
Message-ID:
<CALqoN0aBEF3H=3cftfo6xcNCAf_a8Ek6AruC=email@hidden>
Content-Type: text/plain; charset="iso-8859-1"
On Fri, Sep 30, 2011 at 12:29 AM, Jerry Krinock <email@hidden> wrote:
>
> On 2011 Sep 27, at 12:09, Jeff Stedfast wrote:
>
> > I've been trying to figure out how to programmatically add files to an
> Xcode4 project and it seemed like AppleScript would be the way to go,
> however I'm running into "missing value" errors.
>
> Jeff, I did not read your script, because based on my own experience with
> Xcode 4.1 and AppleScript, I already know the answer. AppleScriptability is
> almost completely broken in Xcode 4.1. Search the list archives, and on the
> Apple Developer forum, and you will see others reporting same. There are a
> maybe few simple commands that still work. Adding build files is quite
> substantial. Forget it.
>
Yea, this is the conclusion I came to before trying this list as my last
hope :-(
Thanks for the confirmation, at least.
>
> > Any help would be greatly appreciated!
>
> If AppleScriptability is important to you, you must revert to Xcode 3.
> File a bug, be very patient, hope and pray.
> What "dot" version of Xcode 4 are you using?
>
Xcode 4.2, which, unfortunately, is the version I need to be able to
interoperate with for some of the new features which I'm working to get my
company's own IDE, MonoDevelop, to support. I suppose I'll have to continue
with the approach of:
1. close the xcode project
2. export my IDE's project to a fresh .xcodeproj
3. use applescript to tell xcode to open the project
I was hoping to find a way of adding new files to Xcode so that the
developer could swap back and forth between my company's IDE and Xcode and
have files get sync'd back and forth w/o him/her losing any state in the
Xcode project view (e.g. losing which doc was opened, where a file might
have been scrolled to, etc). When I started examining Xcode's AppleScript
API, I was pretty excited that I'd be able to improve the user experience
from the old way of doing things and I had gotten so close (my script does
actually add the files to the Xcode project, but w/o being able to set the
project target, it means the user cannot connect IBActions & IBOutlets).
Close but no cigar.
Anyway, thanks for confirming what I had already begun to fear. I'll be
keeping an eye on things and hopefully these bugs will get fixed and I'll be
able to take advantage of them.
Thanks for your time,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/pipermail/xcode-users/attachments/20110930/0cb27651/attachment.html
------------------------------
Message: 8
Date: Fri, 30 Sep 2011 08:42:36 -0700
From: Joar Wingfors <email@hidden>
Subject: Re: To update or not to update
To: Christiaan Hofman <email@hidden>
Cc: XCode Users <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=us-ascii
On 30 sep 2011, at 03:09, Christiaan Hofman wrote:
> Perhaps someone can (finally) tell me the update policy that Apple now takes for Xcode? As I cannot find that information anywhere on the developer site or anywhere else. I would really like to know what I am paying for when I buy something, and I would like to know what different options for paying actually mean before I choose between them. Right now I don't even know this long *after* the fact, and it seems to me that Apple revises its offers after they were payed for.
I don't think that any one of the Apple employees who frequent this mailing list are in any position to make the type of statement that you seem to be asking for. Sorry.
(With that I mean besides what's publicly available, like the description of the developer programs here: <http://developer.apple.com/programs/mac/>, and the information about Xcode that you can find in the Mac App Store).
I have already provided you with information about what I believe your upgrade path should look like, and where to turn for assistance if you encounter problems. I'm not sure what more I can do. Again, sorry.
j o a r
------------------------------
Message: 9
Date: Fri, 30 Sep 2011 11:54:14 -0700
From: Matt Neuburg <email@hidden>
Subject: Re: To update or not to update
To: Juan Fernandez <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=us-ascii
On Thu, 29 Sep 2011 14:42:30 -0400, Juan Fernandez <email@hidden> said:
>you can actually get xcode 4.1 from the developer.apple.com website, on the iOS dev center
Thanks - I had no idea. In fact I'd installed Lion on a separate partition solely in order to use Xcode 4.1; now it turns out I needn't have done that. I thought that on Snow Leopard I was dead-ended at 4.0.2.
I wonder how long Apple will keep supporting Snow Leopard development. Will there be a 4.2 for Snow Leopard? (That's a rhetorical question; no answer is expected.) m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook
------------------------------
_______________________________________________
Xcode-users mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/xcode-users
End of Xcode-users Digest, Vol 8, Issue 379
*******************************************
_______________________________________________
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