Re: AppleScript's script size limit
Re: AppleScript's script size limit
- Subject: Re: AppleScript's script size limit
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 03 Nov 2002 16:52:14 -0800
On 11/3/02 4:23 PM, "Emmanuel" <email@hidden> wrote:
>
The tests above and other tests with more or less bizarre results
>
prompt me to propose to the original poster that he change the names
>
of all the handlers into shorter names. I would do it also with the
>
variable names, maybe they sort of live in the same space.
The original poster responds:
Well now! That is might peculiar indeed. Length of handler names, OK.
However, you may recall that - given my fixed set of handles and handler
names - what pushed it "over the top" with my long script was introducing a
new instance of a different data type, namely a new literal string, whereas
extending an existing literal or concatenating a variable allowed the script
to go on for a bit longer. What in the word do all these things have to do
with each other? (I bet at some obscure lower level they all step on a prime
number's worth of bits, or something nutty like that.)
In those particular tests I did, I was always getting the -108 "Out of
memory" error. I have sometimes got the "Internal table overflow" error
when running (not stepping through) handlers containing script objects while
in "AppleScript Debugger" mode in SD, not something you are likely to
encounter, Emmanuel. And those now seem to be "Out of memory" errors in 1.9
too.
Somebody must be fiddling with the structure of AppleScript, or else the
frameworks it's based upon, it seems to me.
--
Paul Berkowitz
_______________________________________________
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.