Re: Out of Memory
Re: Out of Memory
- Subject: Re: Out of Memory
- From: Gerry Brush <email@hidden>
- Date: Tue, 13 Feb 2001 13:45:25 -0600 (CST)
------------- Begin Forwarded Message -------------
Have you tried increasing the memory of PreFab Player? That might help. In
addition, AppleScript can develop a memory leak when manipulating lists
extensively. In your dostuff handler, are you concatenating lists (set
xlist to xlist & foobar) -- which generates multiple copies of xlist in
memory and can lead to a memory leak, or are you adding to the end of them
(set end of xlist to foobar) -- which is the recommended method?
Jason Bruce
--------------------------------------------------
Thanks for this tip. I was using "&", but with a string, not a list. I removed the line with
the concatenation but still got an out of memory error. I tried increasing the memory of
PreFab Player (using ResEdit) some days ago (forgot to mention this), and in case it wasn't
enough I just now increased it some more. Again, the script stops at the same place. I guess
there must be something wrong with my script or its overall design. If anyone is interested in
looking at it, I'll gladly e-mail it. I'm running out of ideas.
Thanks.
Gerry Brush