Re: Memory usage in AppleScript... How to prevent out of memory errors?
Re: Memory usage in AppleScript... How to prevent out of memory errors?
- Subject: Re: Memory usage in AppleScript... How to prevent out of memory errors?
- From: Simon Forster <email@hidden>
- Date: Mon, 18 Jun 2001 07:47:49 +0100
A quick note of thanks to everyone who helped with this. In fact it proved
to be FileMaker Pro which was sending an out of memory error to the script
which duly passed the message on. The script itself was working fine.
Irritating to have been caught out by something so silly. However, following
the suggestions from the list, a couple of changes have been made which make
the script more memory efficient.
Also, I followed a suggestion from Arthur Knapp and have a "Main" handler
which is called from the Run handler. This prevents the script becoming
unfeasibly large in terms of HD space consumed after a run.
Without the comments I received, it may have taken me longer to think
outside the immediate box and so track the problem down.
Thank you.
Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<
mailto:email@hidden>
________________________________________________