• 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
Reading really big text files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading really big text files


  • Subject: Reading really big text files
  • From: "Wadson, David" <email@hidden>
  • Date: Tue, 22 Jan 2002 13:06:16 -0500

What's the best way to read a really big tab-delimited text file into an
Applescript? The data file I have is about 2.7MB, with 4000+ lines in it.
When I try to read the whole file into a list using the File Read/Write
commands from the Standard Additions, I get an out of memory error. I recall
reading somewhere that there is a glitch that prevents really big files from
being read. Is there a better option available?

Also, am I going to max out some limit for items in a list in Applescript or
is it simply a matter of cranking the amount of RAM I give to the applet?


  • Follow-Ups:
    • Re: Reading really big text files
      • From: Shane Stanley <email@hidden>
    • Re: Reading really big text files
      • From: Jacco Rens <email@hidden>
  • Prev by Date: variable application names in "tell application" statement
  • Next by Date: Re: Reading really big text files
  • Previous by thread: variable application names in "tell application" statement
  • Next by thread: Re: Reading really big text files
  • Index(es):
    • Date
    • Thread