>>> Note that there is a nasty bug in FileIO Xtra which will crash Director is
>>> you try repeating through a large list creating files.
>>
>> What is your basis for this claim. I've used FileIO extensively and not had
>> this problem. What version of Director? What OS?
>
>Hi Bruce,
>Sorry - I should have been more explicit. I use FileIO extensively without
>much problem, except that I have found that in Authoring Mode on a Mac, that
>if I repeat through a large list creating text files, Director will crash or
>'quit out unexpectedly' part way through the list.

How large a list? Certainly, I've never created 1000 text files with it
inside a loop.

>This has happened quite
>consistently over the years (Different versions of Director, MacOS - most
>recently, MacOS 9.0.4 and D7, FileIO 7.0.2r85 - I think it was). I was told
>years ago that there was a memory leak with FileIO and that it 'was a known
>problem' about creating several files within a repeat loop - and my
>experiences seemed to confirm this. I've never really bothered to verify the
>claim, happy with workarounds that work fine (such as writing the files out
>on stepframe or some other threaded system). If you've never heard of the
>problem, then it may well be a furphy.

Furphy? I suspect that if you don't give director a chance to do garbage
collection, it could become an issue. Are you repeatedly instantiating the
instance or using a single instance throughout? I'd recommend the latter.

If you have a simple test you want to send over, I'll try it out.

Bruce

Bruce Epstein, Zeus Productions, [EMAIL PROTECTED], 732-940-2800
Check out LAST CALL - The Ultimate Bartending Sim:
http://www.zeusprod.com/games/lastcall.html
--------
Director and Lingo in a Nutshell (DiaN/LiaN) kick butt.
Free Sample Chapters: http://www.zeusprod.com/nutshell/downloads/
--------



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to