(The reason for trying this is that I was using a global scope across all threads, but instantiating these globally defined JS functions from the threads would attach the instances to the global scope causing memory usage to keep growing and seemingly keeping these instances out of reach of the garbage collector. I'm hoping a clean scope per thread can avoid this.)
The reply I just posted to my own thread: "Context.javaToJS(), ClassCache, scope, and memory."might be of some interest to you. The problem - as you describe it - sounds slightly different, but the symptoms are very similar.
Regards, Kieran
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
