|
|
Task manager
The Task Manager enables monitoring of resources consumed by the platform. You can view the amount of memory consumed by charts, CPU resources used by Expert Advisors and other performance metrics. If you platform performance slows down, you can easily detect and fix the issues.
Use the "Tools" menu or the F2 key to launch the Task Manager.
Different platform functions run on separate threads. The relevant thread statistics are presented in the Task Manager:
- Summary — general statistics for all functions.
- GUI — resources used by the main platform thread.
- Experts/Scripts — resources used by each of the Expert Advisors running on the chart. If a program is running in the debug or profiling mode, the line will indicate 'debug' or 'profile', respectively.
- Services — resources consumed by each active service.
- Symbol — resources used for calculations related to the specified financial instrument: recalculation of prices and profits for open positions and orders, display of charts, calculation of relevant indicators, etc.
- Worker — platform system threads. These threads are used for service purposes, background calculations and others.
The following metrics are measured for platform threads:
- Charts — shows the number of open charts for the symbol and the number of symbol data users (custom indicators calculated using the symbol data, the Expert Advisors which access this data, etc).
- Threads — the number of threads used by the processor.
- Handles — the number of descriptors (handles) used by the process. A descriptor is a pointer which enables a program to access a dedicated resource. The more descriptors a process uses, the more resources it consumes.
- Memory, mb — the amount of consumed RAM.
- CPU, % — processor load by the specified process. If the total CPU load is high, while the process load is low, the computer resources must be consumed by some third-party application.
- Cycles — the total number of computational cycles spent by the processor to service the process, per second. The higher this metric, the more actively the processor is used.
The task manager data is refreshed once a second. You may use the context menu to refresh the statistics manually.
The Task Manager enables the management of running MQL5 programs. Select a program in the list and use one of the commands on the right:
- Show — go to the selected program in the Navigator. The same action can be performed by a double click on its line.
- Properties — open the program input parameters.
- Remove — remove the MQL5 program from the chart.
To save resources and to optimize the platform working area, you can disable the MQL5 services which you do not use. For example, if you are not interested in MQL5 programming languages or in copy trading via the Signals service, uncheck the relevant options in the settings to hide these sections. |