Download MetaTrader 5

memory not freed after backtest

To add comments, please log in or register
What are the latest MQL5.community news? The Wall section will tell you!
chinaski
890
chinaski 2012.08.13 22:04 

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
181327
MetaQuotes Software Corp. 2012.08.13 23:44  

http://www.metatrader5.com/en/terminal/help/tester/tester_agents

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