Big lists in top level variables = stack overflow
Big lists in top level variables = stack overflow
- Subject: Big lists in top level variables = stack overflow
- From: Eric Geoffroy <email@hidden>
- Date: Tue, 12 Jul 2005 09:23:05 -0700
Is the best course of action for top level big lists to -
a) zero out the list before the end of the script.
b) move the big list from top level to handler.
c) other?
- Eric
On Jul 9, 2005, at 1:35 AM, has wrote:
Eric Geoffroy wrote:
I have an applet that throws an error message just as it finishes
executing.
"Could not save changes to the script "EarlyBert.app" because the
script's stack overflowed.
-2706
This script logs errors to a text file, but there are no errors
logged at all. AND, the script appears to be doing everything it's
supposed to. If I run the script in the Script Editor, it doesn't
give the "can't save changes" error.
ideas?
Any big list objects (> 4000 items) sitting in
top-level/property/global variables? AppleScript has problems
serialising really large lists and some other stuff, causing to error
when an applet tries to save its modified script object before
quitting.
has
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden