Is it possible to limit ram usage by Mt4 instance? How can an user do it?
Even if you could set such a limit, what would you expect to happen when the application limit gets hit?
Even if you could set such a limit, what would you expect to happen when the application limit gets hit?
I expect it would be caching into page/swap file without getting unstable.
When my instance of MT4 hits around 850 MB usage it becomes unstable as on screenshot.
There is a plenty of free RAM still available in Windows 8.1.
Does MT4 has upper limit of RAM usage where it becomes unstable or it is a bug of my indicators ?
You can contol the ram usage by these variables:
TERMINAL_MEMORY_PHYSICAL | Physical memory in the system, Mb | int |
TERMINAL_MEMORY_TOTAL | Memory available to the process of the terminal , Mb | int |
TERMINAL_MEMORY_AVAILABLE | Free memory of the terminal process, Mb | int |
TERMINAL_MEMORY_USED | Memory used by the terminal , Mb | int |
I expect it would be caching into page/swap file without getting unstable.
When my instance of MT4 hits around 850 MB usage it becomes unstable as on screenshot.
There is a plenty of free RAM still available in Windows 8.1.
Does MT4 has upper limit of RAM usage where it becomes unstable or it is a bug of my indicators ?
I expect it would be caching into page/swap file without getting unstable.
When my instance of MT4 hits around 850 MB usage it becomes unstable as on screenshot.
There is a plenty of free RAM still available in Windows 8.1.
Does MT4 has upper limit of RAM usage where it becomes unstable or it is a bug of my indicators ?
Any application 32-bit can address 2GB on W32 or 4GB on W64. From my experience, the terminal crashes when hitting the 2GB even in the W64. It is including the swapped memory,
You cannot control the limit itself, all you can do is reducing the risk by setting the charts short and number of running ex4 low.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use