MT5 VPS memory consumption

 

I've written an Mq5 EA that basically runs every tick, possibly places 1 new trade on a chart/pair, and usually never has more than 2 trades per chart/pair. Every tick it checks for closure of existing trades in a fairly simple way (checking DD amount), and possibly places a new trade if 0 or 1 trades exist on the pair/chart. It's a fairly simple EA. There is no special or complicated logic.


A user of the EA has reported that he moved to a new more powerful VPS and his MT5 memory usage increased dramatically on the new VPS. He runs a few MT5 terminals (about 3 I think) with between 20 and 30 charts open on each MT5 terminal using the EA.


Does MT5 try to take whatever it can take even if not needed and this is why memory usage is higher? (measured by looking at task manager statistics)

Or does anyone have an idea why simply moving the EA to a VPS that has more memory and more CPU cores would cause it to use drastically more memory (as shown in task manager)?

 
Rose Cueva:


sounds more like he/she has a bugged mt4/5. maybe beta? ie the latest "release" is 5430
 
Rose Cueva:


Forum on trading, automated trading systems and testing trading strategies

All about MT5 updates.

Alain Verleyen, 2025.12.16 22:54

In case you got an BETA update, for whatever reason, and you want to move to the last official release :

  • A Telegram channel has been created, you will always find there the last official release needed exe files.
  • MT5 Terminal is available in several versions according to your CPU capabilities. You can check which version you have to use in the Journal log, at the first entries after you started MT5.

Here my version is AVX2, an other possibility is X64

  • With this information you will know which zip file to download.


  • You then just have to replace your current exe files with the ones from the Zip. If you don't know how to do, then doing this operation is probably not a good idea.

After MT5 is restarted, you will have the last official release.

If you don't want to get beta-build updates again :

  • NEVER connect to MetaQuotes-Demo server.
  • NEVER use MT5 Terminal Help menu=>Check for Updates=>Last Beta Version.