• 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: Error: Stack overflow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error: Stack overflow


  • Subject: Re: Error: Stack overflow
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 30 Apr 2003 18:02:04 +1000

On 30/4/03 5:08 PM +1000, Paul Berkowitz, email@hidden, wrote:

> Before John ever answered, I supplied an equivalent script that would not
> fail on short chunks. It has been ignored here

Well I only ignored it in so far as I was pointing out that in the case in
question it was probably addressing the wrong problem. But if you consider
your script, although you're reading in separate chunks, you're still
putting everything into one variable. Do that enough times and _that_ will
cause a memory error too (although it will probably take a much bigger file
to do it).

Let me try again: in Classic/OS 9, Script Editor ships with a very small
memory partition, as do default applets. What may look like problems with
the read command may well be caused by this.

Using a big memory partitions to deal with big files isn't such a novel
idea; we've done it with other apps for years.

--
Shane Stanley, email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Error: Stack overflow
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Error: Stack overflow (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Swedish version AS 1.8.3?
  • Next by Date: Scripting Apple Mail
  • Previous by thread: Re: Error: Stack overflow
  • Next by thread: Re: Error: Stack overflow
  • Index(es):
    • Date
    • Thread