Releasing Memory and Virtual Memory

J. Landman Gay jacque at hyperactivesw.com
Tue Aug 11 18:26:56 EDT 2009


BNig wrote:
> Derek,
> 
> do you import the 100 or so images in a repeat loop?
> If so try whether adding a wait 2 milliseconds in the repeat loop helps.
> Or alternatively try to do it in a "send" structure. In my experience Rev
> has problems releasing memory in a repeat loop. When I changed to a "send to
> me in 2 milliseconds" no more problem with memory build-up.

I agree, and I'm pretty sure this must be what's wrong. Rev doesn't do 
any garbage collection until a handler ends. The most reliable way is 
the "send in <time>" structure.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list