Re: Error: Stack overflow
Re: Error: Stack overflow
- Subject: Re: Error: Stack overflow
- From: John Delacour <email@hidden>
- Date: Tue, 29 Apr 2003 23:43:40 +0100
- Mac-eudora-version: 6.0a16
At 7:58 am +1000 30/4/03, Shane Stanley wrote:
I disagree -- 52kB should cause no problem for the read command. I've
imported multiple megabytes in a single read without problems.
I just opened SE 1.8.3 and tried reading a 250kB file, and got a memory
error. I quit, upped SE's memory partition from the default 1500 to 2500,
tried again, and it worked fine.
I upped it then to 6000 and tried a 1MB file, reading four times into
different variables. It gave an error on the third read.
Well and good, but why use routines that are likely to cause problems
at all? There's a perfectly good way of guaranteeing that you'll
_never_ hit memory problems when reading files, which I posted
earlier, and it's very bad practice in any programming or scripting
to write things that will cause memory problems.
JD
_______________________________________________
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.