Out of Memory reading file
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