Reducing memory usage mt5

 

metatrader 5 is a memory pig.  I had exactly the same indicators and charts running in both, but mt5 (64-bit) is taking up 110-135mb ram, and mt4 is only 20-35mb ram.  Same broker.

I limit the max bars in chart to 2000.  I turn off the news.  I turn off the sound alerts.  I have email alerts and expert advisors enabled.

I was running two charts with the same custom indicator.  Nothing else.  Removing the indicator did not reduce the memory more than 5mb

What types of things can be done or disabled (within the terminal or startup parameters of terminal) to reduce the memory usage for mt5?  Or is 120mb normal memory usage?

Step on New Rails: Custom Indicators in MQL5
  • 2009.11.23
  • Андрей
  • www.mql5.com
I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.
 
4evermaat:

metatrader 5 is a memory pig.  I had exactly the same indicators and charts running in both, but mt5 (64-bit) is taking up 110-135mb ram, and mt4 is only 20-35mb ram.  Same broker.

I limit the max bars in chart to 2000.  I turn off the news.  I turn off the sound alerts.  I have email alerts and expert advisors enabled.

I was running two charts with the same custom indicator.  Nothing else.  Removing the indicator did not reduce the memory more than 5mb

What types of things can be done or disabled (within the terminal or startup parameters of terminal) to reduce the memory usage for mt5?  Or is 120mb normal memory usage?

Hi 4evermaat,

You may want to test how well/efficient your custom indicators are written. If they are not, they may use more memory of your computer. I had a similar issue a while ago, and found in my test that by changing to standard indicators the memory usage went down.  I hope this helps.

 
zeno:

Hi 4evermaat,

You may want to test how well/efficient your custom indicators are written. If they are not, they may use more memory of your computer. I had a similar issue a while ago, and found in my test that by changing to standard indicators the memory usage went down.  I hope this helps.

Hope he don't wait your post...2 years ago.