jseparovic / MQL4CSharp

C# Library for Metatrader 4
130 stars 67 forks source link

Running a strategy in backtester doesn't release memory #4

Closed jseparovic closed 8 years ago

jseparovic commented 8 years ago

It seems that returning a String using ManagedExports does not free the memory. As a workaround/solution, pass in a string from MT4 to a StringBuilder in C# as per https://www.mql5.com/en/articles/249