• 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
Out of Memory reading file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Out of Memory reading file


  • Subject: Out of Memory reading file
  • From: "Dr. F." <email@hidden>
  • Date: Tue, 27 Mar 2001 18:22:50 +0100

Hello all :)


I'm trying to write a script to read a simple text file line by line.
using (having opened the file, handle in 'file_ref') :

set myInputLine to read file_ref as text before return

The script will bomb out with an 'Out Of Memory' error unless I allocate
the size of the file I'm reading to the script (files usually 20MB+).

Is this allocation necessary ?

Thanks in advance :)

Steve


  • Follow-Ups:
    • Re: Out of Memory reading file
      • From: g3pb <email@hidden>
  • Prev by Date: Filemaker Pro scripting?
  • Next by Date: Re: Out of Memory reading file
  • Previous by thread: Re: Filemaker Pro scripting?
  • Next by thread: Re: Out of Memory reading file
  • Index(es):
    • Date
    • Thread