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

Commented Unassigned: [BUG] [VBScriptEngine] Process memory leak when re-evaluating scripts with VBScriptEngine [117]

0
0
In version 5.4.7 and 5.4.8 there's still a memory leak related to script evaluations with the VBScriptEngine.
I've attached a test project, where 1000 predefined equations can be evaluated with VBScriptEngine or with the V8 engine. When re-evaluating the equations with V8 engine, the used process memory keeps stable, but not with the VBScriptEnginge. It seems to be an unmanaged memory leak.
To run the attached test project properly, ClearScript has to be added via nuget first.
Comments: Thanks for sharing your test project! Using the [ClearScript.V8](https://www.nuget.org/packages/ClearScript.V8/) NuGet package (based on ClearScript 5.4.7), we can't reproduce a memory leak on Windows 10. That is, the private working set reaches a maximum beyond which it doesn't go no matter how many times we use the button to invoke the VBScript test. What Windows version are you using? How are you detecting the memory leak? Thanks!

Viewing all articles
Browse latest Browse all 2297