- Stop assuming. My terminal has a commit size of 688MB (working set of 150MB) with 43 charts. It never changes.
- If restarting the terminal disturbs the EA, it is broken.
kanadeca: Hi there, I am running an EA in MT4. Initially MT4 is using around 50mb RAM. After 2-3 weeks it gets to 150mb RAM and will continue to use more and more every week. I assume this is normal, my question is how to offload the RAM without closing MT4 and respectively without disturbing the work of the EA?
No, it is not necessarily normal.
The EA may have a memory leak or poor management of dynamic arrays or class objects.
The source code should be debugged and the problem fixed.
Ok, this do not answers the question - is it possible to unload the RAM used by MT4 without closing or restarting it and without disturbing the work of the EAs attached?
kanadeca #:
Ok, this do not answers the question - is it possible to unload the RAM used by MT4 without closing or restarting it and without disturbing the work of the EAs attached?
Ok, this do not answers the question - is it possible to unload the RAM used by MT4 without closing or restarting it and without disturbing the work of the EAs attached?
No.
Your EA allocates memory and does not deallocate.
Either debug and fix EA as William and Fernando suggested, or periodically restart the EA or MT4.
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
Hi there, I am running an EA in MT4.
Initially MT4 is using around 50mb RAM. After 2-3 weeks it gets to 150mb RAM and will continue to use more and more every week.
I assume this is normal, my question is how to offload the RAM without closing MT4 and respectively without disturbing the work of the EA?
Regards!