Hi, everyone . I was trying to use script to calculate interaction energy of several trajectory documents for 300 frames. However, after running on 3-4 trajectory documents, the script gives me error saying ran out of memory for forcite energy task. I have tried closing or discarding variables but still getting the same error. If anyone can give me their opinion on how I might fix it?
snippet of my script: .................
my \$doc = \$Documents{\$docName}; my \$newStudyTable = Documents-> New(\$docName"_InteractionEnergy.std");
my \$calcSheet = \$newStudyTable-> ActiveSheet; ............................................................................................................................................ my \$allDoc = Documents->New("all.xsd");
my \$layer1Doc = Documents->New("layer1.xsd");
my \$layer2Doc = Documents->New("layer2.xsd"); ........................................................................................................................................ \$allDoc->Discard;
\$layer1Doc->Discard;
\$layer2Doc->Discard;
\$doc->Discard;
\$newStudyTable->Save();
\$newStudyTable->Discard();
Documents->CloseAll;