Auf einem VPS mit zwei identischen MT5-Konten variiert der benötigte RAM/CPU-Speicher stark. Warum ist mir das völlig unklar?

 

Auf einem VPS mit zwei identischen MT5-Konten variiert der benötigte RAM/CPU-Speicher stark. Warum ist mir das völlig unklar?

Hallo,

wie kann es sein, dass auf einem VPS mit zwei verschiedenen MT5-Konten mit identischen Konfigurationen ein Konto 5-mal mehr RAM/CPU benötigt?

An Wochenenden, an denen kein Handel stattfindet, ist die RAM/CPU-Auslastung nach dem Neustart von MT5 auf beiden Konten vergleichsweise gering. Daher wird es wahrscheinlich schwieriger sein, die Ursache am Wochenende zu erforschen.

Da jetzt keine Handelszeiten sind, verwenden alle die gleiche Menge an RAM/CPU, sodass ich dieses Wochenende nicht mit „ProcessExplorer” oder „RAMMap” überprüfen kann.

Aber ich sehe nicht wirklich, wie ich dort die Ursache finden kann, daher brauche ich vielleicht einen Tipp von Ihnen!

Ich bin völlig ratlos. Das ist nicht das erste Mal, dass mir das bei verschiedenen EAs aufgefallen ist. Wie kann ich hier die Ursache ermitteln? Speichert MQL5 vielleicht etwas pro Konto und verursacht dadurch unterschiedliche Ressourcenanforderungen?

Mir fällt das häufiger bei EAs auf, die häufig auf verschiedenen Konten installiert sind, aber das ist nur eine grobe Vermutung.

Broker ICM: [redigiert]

Chart-Konfiguration auf beiden Konten angepasst: max. 5000 Balken, um den RAM-Verbrauch zu reduzieren.

Vielen Dank im Voraus für Ihre Unterstützung!


On a VPS with two identical MT5 accounts, the amount of RAM/CPU required varies greatly. Why is it completely unclear to me?

Hello,

how can it happen that on a VPS with two different MT5 accounts with identical configurations, one account requires 5x more RAM/CPU?
On weekends when no trading is taking place, after restarting MT5, the RAM/CPU usage is comparably low on both accounts. Therefore, it will probably be more difficult to research the cause on the weekend.

Now that there's no trading time, they all use the same amount of RAM/CPU, so I can't try checking with "ProcessExplorer" or "RAMMap" this weekend.

But I don't really see how I can find the cause there, so maybe I need a tip from you!

I'm completely baffled. This isn't the first time I've noticed this with different EAs. How can I research the cause here? Does MQL5 perhaps remember something per account, thus causing the different resource requirements?

I notice this more often with EAs that are frequently installed on different accounts, but this is just a rough guess.

Broker ICM: [redacted]

Chart configuration adjusted on both accounts: max. 5000 bars to reduce RAM usage.

Thank you in advance for your support !

Automatische Übersetzung durch Moderator. Bitte schreiben Sie im deutschen Forum auf Deutsch. Verwenden Sie entweder das automatische Übersetzungstool oder posten Sie in einem der anderen Sprachforen.

 
  1. Es ist also keine MQ-VPS, sondern eine 'eigene'?
  2. Sind die EA selbst programmiert oder von wo gekauft?
  3. Was sagt der Task-Manager?
  4. Auch das Terminal hat einen Task-Manager: F2 - was sagt der?
  5. Hier: https://www.mql5.com/de/docs/constants/environment_state/terminalstatus#enum_terminal_info_integer
    (und auch die String- und Double-Werte darüber und darunter) sind Werte, die ein EA oder Indikator abfragen kann.
  6. Ein EA oder Indikator läuft jetzt nur eingeschränkt, ein Skript aber läuft auch am Wochenende einmal durch.
Dokumentation zu MQL5: Zustand des Client-Terminals / Konstanten, Enumerationen und Strukturen
Dokumentation zu MQL5: Zustand des Client-Terminals / Konstanten, Enumerationen und Strukturen
  • www.mql5.com
Identifikatoren zum Abrufen der Information über das Client-Terminal mit den Funktionen TerminalInfoInteger() und TerminalInfoString() . Als...
 
Carl Schreiber #:
  1. Es ist also keine MQ-VPS, sondern eine 'eigene'?
  2. Sind die EA selbst programmiert oder von wo gekauft?
  3. Was sagt der Task-Manager?
  4. Auch das Terminal hat einen Task-Manager: F2 - was sagt der?
  5. Hier: https://www.mql5.com/de/docs/constants/environment_state/terminalstatus#enum_terminal_info_integer
    (und auch die String- und Double-Werte darüber und darunter) sind Werte, die ein EA oder Indikator abfragen kann.
  6. Ein EA oder Indikator läuft jetzt nur eingeschränkt, ein Skript aber läuft auch am Wochenende einmal durch.

 

This is happening all the time, and the memory isn't being released properly on ICM 16. 

ICM16 and ICM27 don't have EA, and ICM16 still pulls 0.5GB of RAM for nothing.

1. VPS not mql5

2. Test with my own Test-EA, but EAs only from mql5

-----------------------

Live trading with 6 EAs(mql5) looks like this.


 
The "ICM16" account has the same RAM behavior locally on my Windows PC!
A little more information about my "test EA": it cyclically exports the history to a sqlight DB, txt file, and csv file every 2 hours, and also logs account information. That's all it does.

Another test with an older account, "ICM 3," with twice as much history data, also requires noticeably less RAM than this one, "ICM16."

For an overview, here's the local test on my Windows PC, data in Task Manager:
"ICM 3": Closed Deals = 40817
With test EA: 357.0 MB
Test EA removed: 226.8 MB

These two previous accounts:
"ICM27": Closed Deals: 10730
With test EA: 231.9 MB
Test EA removed: 184.4 MB

"ICM16": Closed Deals: 20707
With test EA: 901.0 MB
Test EA removed: 481.1 MB

The only thing I still see is that ICM16 is linked to "MetaEditor 5" when I open it.

But still, why does the "ICM16" account, with such a stripped-down test configuration, require so much more RAM than the other accounts, regardless of the VPS or locally on my Windows PC?
In live operation with more resource-intensive EAs, this RAM behavior on the "ICM16" account is even more pronounced, with increased CPU resources.
 
I have other RAM-hungry accounts. These two other critical accounts in live operation also show poor RAM performance, so there are several of these poorer accounts, but I didn't want to make it more complicated than it already is:
"ICM 19": Closed Deals: 17745
With Test EA: 1126.6 MB
Test EA removed: 581.8 MB

"ICM 21": Closed Deals: 15333
With Test EA: 899.5 MB
Test EA removed: 490.0 MB


"ICM 20": Closed Deals: 19003

With Test EA: 1048.8 MB

Test EA removed: 584.1 MB


Here's another good account, like ICM27 and ICM3:

"ICM 31": Closed Deals: 10028

With Test EA: 118.1 MB

Test EA removed: 87.9 MB MB


But still, why do some accounts with such a stripped-down test configuration, as well as with comparable EA configurations in live operation, require such different amounts of RAM, regardless of the VPS or local on my Windows PC?

I can load some low-RAM-hungry accounts with EAs, and they don't reach the limits of the RAM-hungry accounts.


-> From what I've seen on my Windows PC, the RAM was freed up after a while.

 

Identical configuration on the VPS server, configured a few hours ago today, identical charts, 6 identical EAs with different Magic and the test EA, so 7 EAs, which means a different RAM requirement !?

What's going on!?


 

Now only test EA, I'm checking with the test EA whether the RAM on the VPS is released after a while, like on my Windows PC.

But here again, the RAM requirements of CM16 are surprisingly high compared to ICM27.


 

It has now cleared up the RAM: "WMO_Wise Memory Optimizer_Setup_4.2.3.129"

That alone probably won't be the solution, as I also have a CPU problem with these accounts.

 
Some interesting information can be found in the Resource Monitor: the allocated(zugesicherte) RAM is displayed there!
 

Es ist ein deutsches Forum - warum schreibst Du nicht in Deutsch?

Übrigens mein Terminal belegt auch 85 MB im RAM

 
Lade und installiere doch auch ein MQ-Terminal im portable mode und vergleiche?
Plattform starten - Für fortgeschrittene Nutzer - Die ersten Schritte - MetaTrader 5 Hilfe
Plattform starten - Für fortgeschrittene Nutzer - Die ersten Schritte - MetaTrader 5 Hilfe
  • www.metatrader5.com
Nach der Installation wird eine Programmgruppe erstellt und zum Startmenü hinzugefügt und eine Verknüpfung wird auf dem Desktop...