Re: FMP7 & Repetitive AppleScript calls
Re: FMP7 & Repetitive AppleScript calls
- Subject: Re: FMP7 & Repetitive AppleScript calls
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 09 Apr 2004 05:20:14 -0400
John Stewart wrote [4/9/04 4:00 AM]:
>
On 04/08/04 at -0700 Jim Marschke said this
>
>
> FMP6 handles this okay (I think - I've only run this test with it for a
>
> couple hours now). FMP7 doesn't. What happens is that in a very short
>
> amount of time the speed with which the loop counter is incremented is
>
> radically and obviously reduced. I re-ran my test while observing the
>
> Activity Monitor utility. I saw that in FMP7 the "real memory" used
>
> begins to climb at a steady rate and ultimately eats up everything
>
> available (in my case over 1/2 gig). That's about the time when FMP7
>
> goes catatonic. This does not happen in FMP6 (or at least not at such
>
> a dramatic rate). It is also rather startling to see that while doing
>
> something as simple as this FMP7 can consume 80% of available CPU on my
>
> Dual G5 whereas FMP6 only uses 40% -- running the same AppleScript.
>
>
>
> To me this looks like a big problem with no work-around. Anyone have a
>
> similar experience?
>
>
>
That's called a memory leak and it's a bug that you should report to
>
FileMaker. Include the script
>
you used to reproduce it.
>
>
JBS
It might also be related to AS memory leakage. Meaning, it may or may not be
a FM problem. One option would be to move all of the script code _out_ of
FM [if you are using Perform AppleScript macro steps] and into an
application.
We have an image DB of about 11,000 images. Periodically, a maintenance
script [an FM script that uses the Perform AS steps as well as FM macro
code] checks the Finder folder where the images are stored, and sets a flag
if the image is missing or has been modified. This script also suffered in
FM 6 [unlike your experience], but it behaves much better as an external AS
application.
I don't know if this will be of help, but it would be worth the experiment.
--
Gary
_______________________________________________
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.