Subj : Problem with the Garbage Collector To : netscape.public.mozilla.jseng From : meisterderdinge@gmx.net (Zaph) Date : Fri Mar 05 2004 06:54 am Hi, I have several (identical) Scripts running simultaneously in several contexts in the same runtime and they are being arbitrarily started and stopped. It is possible that there is always at least one script running. Therefore the garbage collector is never being started and the engine locks up sooner or later due to not enough memory. Unfortunately I cannot change the way the scripts are being started and it is possible that one script may run for days. I am using JS_BeginRequest and JS_EndRequest to prevent the GC to start while there are scripts active. Is there a way to start the Garbage Collector while the scripts are active or is there any other way that might help me to prevent to engine to run out of memory ? I hope I anyone is able to help me with this... Thanks in advance, Zaph .