FMP7 & Repetitive AppleScript calls
FMP7 & Repetitive AppleScript calls
- Subject: FMP7 & Repetitive AppleScript calls
- From: Jim Marschke <email@hidden>
- Date: Thu, 8 Apr 2004 18:25:32 -0700
I have an AppleScript which does batch processing by running a repeat
loop processing data and calling a FileMaker script. This thing often
runs for a day or more.
I recently converted from FileMaker 6 to FileMaker 7. FMP7 seems to
have a problem which didn't exist in FMP6. After my script has run for
some time things slow down remarkably and ultimately FMP7 goes off
somewhere for lengthy periods of time and the cursor changes into the
colored spinning wheel.
In troubleshooting this I wrote a little AppleScript and database in
both FMP6 and FMP7. In each case the AppleScript just loops and does a
do script command. The script in each database simply increments a
global loop counter.
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?
_______________________________________________
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.