Re: Out of Memory

From: Luther Fuller (lfuller@MINDSPRING.COM)
Date: Thu May 17 2001 - 09:52:33 AEST


Mark Lively asked ...
>Finder does have some memory bugs.
>Does this problem occur when the line is run stand-alone on one of the
>problem folders?
>If not you could recursively build the list of folders and then iterate
>through that list.

Once I find a folder that causes Out of Memory, I can restart, then
run the script on just that folder. I get an immediate -108 error, so
it's not something that "accumulates" as the script opens folders.

David McCabe commented ...
>What about when it's between 300 and 500?

I was visually watching folders open and close (recursively) and
taking mental notes on the size (number of items) of the folders. I
don't know what the exact smallest number of items in a folder is
that will cause a -108 error, but it's between 300 and 500.

It seems that there is a maximum number of items that
     set itemList to (sort items in folderRef by name)
can get. I was writing another script, today, that had the same
problem with the line
     set itemList to (items of folderRef) as list

And, there's no way to assign more memory to the system (9.1) or the
Finder. I've checked.

------------------------------



This archive was generated by hypermail 2b29 : Sun May 27 2001 - 12:00:28 AEST