Metatrader 5 seems that never release memory during script execution
even if i call delete function for dynamic pointers.
MT5 release memory only after then end of script .
During batch processes the memory consumption is increasing in Gigabytes and my system is slowing down.
In c++ everything is in local scope after the end of a function is released.
Or you can use something like free or delete to release dynamic memory.
Have you intension to improve memory managment in next releases ?
Thanks in advance
Thanks for your fast response.
I resolve it.
Finally was my fault.
When running a eternal script, we only have one OnStart()
How memory is released to operating system? ArrayResize consume dynamic memory, how to force a garbage collector in this cases?
Please enable the necessary setting in your browser, otherwise you will not be able to log in.