Re: Memory and idle applescript
Re: Memory and idle applescript
- Subject: Re: Memory and idle applescript
- From: julifos <email@hidden>
- Date: Tue, 19 Aug 2003 19:18:28 +0200
Nice explanation!
All my worries are evaporated... I followed the procedure you described and
my stay-open app reached 0.8% of memory usage!!!
Cheers...
jj
>
On 19/8/03 15:05, "julifos" <email@hidden> wrote:
>
>
> I've been observing this and it decreases the memory usage before lots of
>
> minutes running, until a value of "4.3%"... This is better than 7.9, but I
>
> still think this is *much* for an app which is doing *nothing*...
>
> I'd prefer a value similar to my "iBeeZz User Agent", which keeps a stable
>
> memory usage of "0.7%" ;-)
>
>
This more an artefact of how OSX handles memory.
>
>
It will give the frontmost app -- appA -- as much as it wants. When a second
>
app is launched -- appB -- it gives that app as much memory as it wants as
>
well, but it won't reduce appA's memory allocation until the OS runs out of
>
memory to give appB. Only then will appA's allocation be reduced.
>
>
A much-simplified (probably *over*-simplified) explanation, but easy to see
>
in practice. Launch your stay-open app and launch Process Viewer. Then watch
>
the memory allocation as you launch a bitmap editor like Photoshop or
>
Graphic Convertor, create a new image, and increase the resolution of that
>
image a bit at a time. Once you hit a certain stage, dependent on your
>
machine's RAM and what else you have running, you'll see your app's
>
allocation drop as the OS takes it's memory back.
>
>
HTH,
>
>
Nigel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.