At 5:50 PM -0500 11/13/00, Simon Lord wrote:
>I have a similar script running now, the only problem is that MC crashes
>after about 250-300 images. Then it crashes sooner (ie after converting 100
>snaps to jpg) until I rebbot. Then the problem starts all over.
Is this all being done in a single repeat loop? I haven't done
anything on this scale for creating images. However, I have noticed
that when opening and deleting a lot of stacks (over 500) one at a
time in a single repeat loop that memory usage will zoom up and won't
drop until after the whole routine completes. This is on NT, and
although I get no crashes, performance slows considerably. (But I
suspect that on a Mac, a crash would be more likely.) I've just
assumed that Metacard puts off some housekeeping tasks such as
disposing of memory until running scripts have finished. (Pure
speculation of course.) This hasn't really worried me as I only run
that kind of routine during development for editing a large number of
stacks at once.
You might try putting a "compact" command in occasionally (after a
certain number of images have been made) to see if that has any
effect. The help says it only clears space as a result of
creating/deleting cards, but it might be worth trying. (or use "save"
instead of "compact")
Or run the repeat loop for a fixed number of times (say 20). When it
completes, then if there are still images to be made, use "send ...
in ..." to run the routine again. The delay before the routine gets
run again may allow Metacard to do some housework.
Sorry for the untested and "top-of-the-head" suggestions. Good luck!
Cheers
Dave Cragg
--
_____________________________________________
The LACS Centre (Business English Training Resources)
mailto:[EMAIL PROTECTED]
http://www.lacscentre.co.uk
_____________________________________________
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.