Re: VSIZE, apps without AppKit
Re: VSIZE, apps without AppKit
- Subject: Re: VSIZE, apps without AppKit
- From: Dan Crevier <email@hidden>
- Date: Fri, 05 Apr 2002 15:11:11 -0800
On 4/5/2002 2:01 PM, "Angela Brett" <email@hidden> wrote:
>
I wrote a Foundation Tool, which I have now put into an Application
>
solely so that it can be added as a Login Iten. I've removed all
>
remnants of the AppKit from the project, since I don't need it and as
>
soon as I use anything from the AppKit the VSIZE (as mentioned in
>
top) goes up to about 30 or 50MB. I don't know ir that's really a bad
>
thing, but it seems quite wasteful for something which is meant to be
>
running all the time, and which doesn't actually need anything from
>
the AppKit. That's my first question... if I do use the AppKit in
>
this program, how much difference does that really make? Will that
>
extra size slow down the system at all?
VSIZE isn't actually that meaningful. If I understand things correctly, the
framework code will get memory mapped into your process, increasing your
virtual memory size without taking up real RAM. What's more interesting is
the RSIZE number, which will tell you how much real RAM you are using. See
"man top" and Inside Mac OS X: Performance for more info.
Dan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.