Download MetaTrader 5

memory not freed after backtest

To add comments, please log in or register
chinaski
922
chinaski  

Hello,

situation:

- MT5 closed: Memory in use 1.65 GB

- Open MT5, close all charts: Memory in use 1.75

- Run backtest: Memory in use: 2.98(during backtest)

-  After backtest: close all charts, clear all logs: Memory in use still 2.98

MetaQuotes Software Corp.
Moderator
188162
MetaQuotes Software Corp.  

https://www.metatrader5.com/en/terminal/help/testing

just wait for 5 minutes:

If testing/optimization is not finished manually (by pressing the Stop button at the settings tab or by closing the client terminal), the processes of used local agents are not unloaded from the computer memory for 5 minutes.

This feature allows avoiding delays connected with preparing the price history and starting the agent processes when re-testing/re-optimizing the same Expert Advisor at the same symbol, timeframe and time period.

To add comments, please log in or register