Discovery Studio collapses while a script is running.

Hi everyone,

I'm new at Discovery Studio, especially in scripting.


I have a script that goes over multiple molecules and modifies them with the use of DS protocols.

Unfortunately, after going over ~10 such molecules, the Discovery Studio program becomes non responsive, stops working, and has to be manually closed and re-opend.

I have tried this multiple times and it alyways happens sooner or later.

How can I prevent this?

Many thanks,

Elad.