• 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: Xcode 3.0 memory use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3.0 memory use


  • Subject: Re: Xcode 3.0 memory use
  • From: Rhys Hill <email@hidden>
  • Date: Mon, 5 Nov 2007 11:50:27 +1030

Hi guys,

On 05/11/2007, at 10:56 AM, Bill Bumgarner wrote:

On Nov 4, 2007, at 4:01 PM, Rhys Hill wrote:
Is anyone else having trouble with Xcode 3 using a lot of memory? top tells me this:

PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
11613 Xcode 0.0% 53:14.88 7 149 844 274M 11M 284M 834M


I've previously seen it using over 700MB of memory. This is after closing all the
projects I had open, which I would assume should free any associated memory. I
had a go at using MallocDebug to work out where the RAM is being used, and it seems
to be related to syntax highlighting. Is this a known problem?

The VSIZE is largely irrelevant for an application like Xcode. Given the number of files it is messing about with, a good sized chunk of the address space is going to be consumed by mapped files.


RSIZE is more interesting, but still not great. The vmmap and heap commands are much more interesting.

As well, check top and see if your machine is paging.

Sorry, I should have specified. I have seen rsize go above 700MB. I'd never seen the heap command before, that is very useful! I didn't know how to probe memory allocations of a running process, but that command looks perfect.


On 05/11/2007, at 11:24 AM, Greg Guerin wrote:

Bill Bumgarner wrote:

As well, check top and see if your machine is paging.

Also issue a 'purge' command and see what changes. Just because memory is
"consumed" doesn't mean it's dedicated.


The 'purge' cmd is installed with CHUD tools.

From the man page, it sounds like that tool purges the disk cache, which I thought
not counted in process memory anyway, but was rather a global pool?


Cheers,

--------------------------------------------------------------------------------
Rhys Hill,                                             email@hidden
Hons. Maths & Comp. Sci

Phone: +61 8 8303 6197 Mail:
Fax: +61 8 8303 4366 School of Computer Science
University of Adelaide
Adelaide, Australia
http://www.cs.adelaide.edu.au/~rhys/ 5005
--------------------------------------------------------------------------------



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Xcode 3.0 memory use (From: Rhys Hill <email@hidden>)
 >Re: Xcode 3.0 memory use (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Xcode 3.0 memory use
  • Next by Date: Re: Run log window
  • Previous by thread: Re: Xcode 3.0 memory use
  • Next by thread: Re: Xcode 3.0 memory use
  • Index(es):
    • Date
    • Thread