Hi again,
Regarding your first question, there are several considerations. Do you need to run scripts concurrently? Are your scripts independent, or do they reuse data left over by other scripts? Are your scripts trusted and known to be well-behaved? What are your performance requirements? It's difficult to say what you should do without knowing more about your application.
As for memory leaks, we aren't aware of any in the latest ClearScript code, but there may always be bugs in ClearScript and/or the underlying script engines. Can you provide more information? Which script engine(s) are you using? What do your scripts do, roughly speaking? Does your leak detection tool provide any clues? Can you post a minimal code sample that demonstrates the issue?
Thanks!
Regarding your first question, there are several considerations. Do you need to run scripts concurrently? Are your scripts independent, or do they reuse data left over by other scripts? Are your scripts trusted and known to be well-behaved? What are your performance requirements? It's difficult to say what you should do without knowing more about your application.
As for memory leaks, we aren't aware of any in the latest ClearScript code, but there may always be bugs in ClearScript and/or the underlying script engines. Can you provide more information? Which script engine(s) are you using? What do your scripts do, roughly speaking? Does your leak detection tool provide any clues? Can you post a minimal code sample that demonstrates the issue?
Thanks!