• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Out of Memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Word 98: get insertion point
  • Next by Date: Scripting Apple System Profiler
  • Previous by thread: Re: Out of Memory
  • Next by thread: Re: Out of Memory
  • Index(es):
    • Date
    • Thread