Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Memory consumption

0
0
Hello,

just to close this thread, I was able to find a solution, which does not produce a memory leak:
Instead of using AddHostObject, I used ScriptEngines Script property to hand over data to the script. In the script I return the data back and now use Evaluate with discard: true.

Thank you for your help!

Regards

Joachim

Viewing all articles
Browse latest Browse all 2297