Until the build 2340, I used the ExpertRemove()
function on OnTester() to reset all parameters and clear the RAM. However, from build 2340 onwards (now on Build 2361),
this function has no effect and the metatrader started to consume RAM memory with each new test until it crashes.
How do I fix this? Is it a bug? If I can no longer call the ExpertRemove () function to clear all parameters, how can I do this, since my EA is
relatively complex and uses a lot of report and database files?

Documentation on MQL5: Common Functions / ExpertRemove
- www.mql5.com
//| Test_ExpertRemove.mq5 | //| Copyright 2009, MetaQuotes Software Corp. | //| https://www.mql5.com | //| Expert deinitialization function |...
- Optimization Types - Algorithmic Trading, Trading Robots
- MQL5 Wizard: Development of trading robots for MetaTrader 5
- How to Use - MQL5 Cloud Network
diogoacordi: metatrader started to consume RAM memory with each new test until it crashes. How
do I fix this? Is it a bug?
Find your memory leak in your code, and fix it. It's a bug in your code.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register