Re: Script slowing down - suggestions?
Re: Script slowing down - suggestions?
- Subject: Re: Script slowing down - suggestions?
- From: Martin Crisp <email@hidden>
- Date: Sat, 9 Mar 2002 12:20:09 +1100
- Organization: Tesseract Computing
On Fri, 8 Mar 2002 16:14:10 +1100 the muse struck Christopher Nebel, who
wrote (in message <email@hidden>):
>
On Wednesday, March 6, 2002, at 03:16 PM, Martin Crisp wrote:
>
>
> ...the applet takes longer and longer to do the 'same' tasks. Perhaps
>
> related is a tendency for memory use to increase slowly over time.
>
>
>
> So, after all that, my question is: What causes AppleScript to slow to
>
> this extent? Is it the number of interactions with the Finder (the log
>
> file is constantly being opened & closed, as are the player files)? Or
>
> is it the 'second-level' loading of compiled scripts? Or something else?
>
>
There's a known memory leak in "load script"; if you're using it a lot,
>
that's probably it. It should be fixed in 1.8.2, though not the
I am using it a lot - if it isn't a state secret: what's the projected
timing of 1.8.2?
I can probably restructure the code fairly easily to reduce the number
of 'load script' [will mean a handler call from a loaded script back to
the main applet that then calls another loaded script]
>
currently seeded beta. AppleScript's garbage-collected heap has never
>
been known to leak, but AppleScript has been known to leak other system
>
resources.
Thanks much Chris,
Have Fun
Martin
--
I have absolutely no reason to complain about "success" with my work;
[...] And yet, from time to time a boundless sense of inferiority
plagues me, a desperate feeling of general failure; how does a person
acquire such bits of lunacy?
- MC Escher
Almost always SMASHed
_______________________________________________
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.