From: Daniel A. S. <st...@ic...> - 2001-11-02 05:21:17
|
At 11:37 -0500 on 1/11/01, Ralph Hempel wrote: >I'm still getting the ApllicationError 25 when I call >the AppleScript package many times....this time I've >changed the script so it runs on any Mac. > >Even if I compile the AppleScript and run it from the >handle returned by compile, the problem is the same, so >I'm suspecting a memory leak in the AppleScript mechanism >itself. > >The minimal script that will duplicate the problem is at the end >of the message. > >It's not meant to be practical, just illustrates a timed procedure firing >off on a regular basis. If I comment out the call to the AppleScript >procedure, then the application runs fine. I suspect a memory leak >somewhere in tclAppleScript.... I've just executed your script in TclTest 8.3.4 and it ran for 3000 iterations without a problem, the only increase in memory use I could detect was due to the console window buffer (total memory use of TclTest was 3.1MB after the 3000 iterations) maybe this bug was fixed with my memory code improvements in 8.3.3 ? Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |