Back to blog

Forex VPS Requirements: How Much RAM per MT4/MT5 Terminal

IM Host EditorialOctober 14, 20268 min read
Forex VPS Requirements: How Much RAM per MT4/MT5 Terminal

A Forex VPS needs enough RAM for Windows Server itself plus every trading terminal you run, and RAM is usually the first limit you hit. A lean MT4 terminal often sits in the low hundreds of megabytes, while MT5 with many symbols, deep history and several Expert Advisors can grow past a gigabyte. Size the server by counting terminals, measuring one of them under real load, and leaving headroom for market-open spikes and Windows updates.

This guide breaks down what a terminal actually consumes, how to measure it on your own server, and how to map your setup to a plan by terminal count.

What a trading terminal actually uses

MetaTrader 4, MetaTrader 5 and cTrader do the same basic work: hold a live connection to your broker's trade server, receive a stream of price ticks, draw charts and run your automation. Each part has a cost.

  • Open charts. Every chart keeps its bars in memory and redraws on each tick. Ten charts with several indicators each cost far more than two clean charts.

  • Symbols in Market Watch. Each visible symbol receives ticks. A Market Watch showing every instrument your broker offers means the terminal processes ticks for hundreds of symbols you never trade.

  • History bars. The "Max bars in chart" setting decides how much history each chart loads. MT5 in particular can keep large amounts of history in memory and on disk.

  • Expert Advisors and indicators. An EA runs its code on every tick or timer event. Badly written indicators that recalculate the whole history on each tick are a common cause of high CPU.

  • Tick volume. During news and at session opens, the number of ticks rises sharply. A CPU that looks idle at 3 a.m. can jump when London or New York opens.

cTrader follows the same pattern: charts, watchlists, history and cBots running in cTrader Automate all add to the memory and CPU footprint of the desktop app.

Why RAM is usually the limit

CPU usage on a trading server is spiky: short bursts at market open and on news, then long quiet periods. RAM usage is steady and grows with every terminal, chart and history setting. When RAM runs out, Windows starts paging to disk, terminals become sluggish, and an EA may react late. That is why sizing starts with memory.

Windows Server itself also needs room. With the desktop experience, background services, Windows Defender and your RDP session, the operating system commonly takes 1–2 GB before you open a single terminal. Reserve that first, then add the terminals on top.

CPU: market opens, backtests and many EAs

For a few terminals running simple EAs, two dedicated vCPUs are usually comfortable. CPU becomes the constraint when:

  • you run many EAs that each do heavy calculations on every tick;

  • several terminals react at the same moment, for example at the weekly open or on a major data release;

  • you run the Strategy Tester on the live server. Optimisation in MT5 can use every core available and starve your live terminals. Run backtests on another machine.

Whether the vCPU is dedicated matters more than the raw core count. On a server where CPU time is shared with other tenants, a busy neighbour can delay your terminal exactly when the market moves. Our guide to running MT4 and MT5 on a Windows VPS covers this in more detail.

Disk: why NVMe helps

Terminals write history files, logs and journal entries constantly, and they read history whenever you open a chart or change timeframe. Fast NVMe storage keeps chart loading and terminal start-up quick, especially after a restart when several terminals load at once. Keep an eye on the logs folder too: chatty EAs can write large log files over a few months, so clear old logs periodically.

Practical sizing by number of terminals

The figures below are starting points, not guarantees. Real usage depends on charts, symbols, history settings and the EAs you run, so always measure after setup.

  • 1 terminal with a few charts and one or two EAs: 2 vCPU and 4 GB RAM leaves room for Windows plus the terminal with headroom.

  • Up to 2 terminals, for example one MT4 and one MT5, or two accounts at different brokers: 3 vCPU and 6 GB RAM.

  • Up to 5 terminals, such as several accounts or a small trade-copier setup: 4 vCPU and 8 GB RAM, provided each terminal is kept lean.

  • Many terminals for account managers, prop traders and copiers: 6 vCPU and 16 GB RAM, with each terminal tuned carefully.

These tiers match the IM HOST Forex VPS plans: Lite (1 terminal, 2 vCPU/4 GB), Standard (up to 2 terminals, 3 vCPU/6 GB), Pro (up to 5 terminals, 4 vCPU/8 GB) and Elite (unlimited terminals, 6 vCPU/16 GB). "Unlimited" on Elite means the plan does not cap the number of terminals; RAM and CPU still set a practical ceiling, so measure as you add accounts.

How to measure usage in Task Manager

Do not guess. Set up your terminals exactly as you will trade with them, let them run through a busy session, then check.

  1. Open Task Manager inside the RDP session (Ctrl+Shift+Esc) and go to the Details tab.

  2. Find terminal.exe (MT4) and terminal64.exe (MT5). Each running terminal appears as its own process.

  3. Read the Memory (active private working set) column for each one, and note CPU usage during a market open.

  4. Switch to the Performance tab and look at total memory in use and the "Committed" value. If in-use memory stays above roughly 85–90% of the total, you are close to paging.

For a quick snapshot of every MetaTrader process, run this in PowerShell:

Get-Process terminal* | Select-Object Name, Id, @{n='RAM_MB';e={[math]::Round($_.WorkingSet64/1MB)}}, CPU | Sort-Object RAM_MB -Descending

The CPU column here is total processor seconds since the process started, not a percentage, so compare two readings taken a few minutes apart. Repeat the whole measurement after a week: history grows, and an EA with a memory leak shows up as a steady climb.

Tips to keep terminals light

  • Hide unused symbols. In Market Watch, right-click and choose "Hide All", then show only the instruments you trade.

  • Lower "Max bars in chart". In Tools > Options > Charts, reduce history to what your EAs actually need, then restart the terminal.

  • Close charts you do not trade from. An EA needs its chart; a dozen reference charts do not need to stay open on the server.

  • Remove heavy indicators that are only there for visual analysis. Analyse on your own computer and keep the VPS for execution.

  • Turn off news in the terminal settings if you do not use it.

  • Never backtest on the live server.

  • Restart terminals on a schedule during the weekend market close if an EA slowly leaks memory. The guide to keeping MT4/MT5 running 24/7 with auto-restart shows how.

Location still matters

Resources are only half of the picture. The other half is network distance to your broker's trade server. Many brokers host their servers in or near London or New York, so check where yours are before you pick a location. Our articles on a UK VPS in London and a USA VPS in New York explain how each location fits, and the IM HOST data centers page shows what is in stock today.

Trading involves risk, and no server specification makes a strategy profitable; the goal is simply to remove the server as a source of problems.

Frequently asked questions

How much RAM does one MT4 terminal need?

It depends on charts, symbols and EAs. A lean MT4 terminal often uses a few hundred megabytes; a busy one uses more. Add roughly 1–2 GB for Windows, which is why 4 GB is a sensible minimum for a single terminal.

Does MT5 use more resources than MT4?

Often, yes. MT5 is a 64-bit application that can load more history and more symbols, and its Strategy Tester can use every core. With equally lean settings the gap is smaller, so measure your own setup.

Can I run MT4, MT5 and cTrader on the same VPS?

Yes. Each one is a separate Windows application. Count every running instance as one terminal when you size the server.

Is the Windows licence included?

On IM HOST Forex VPS, Windows Server is installed automatically, but the Windows licence is not included, so you need to provide your own.

Forex VPS at IM HOST

IM HOST Forex VPS plans are sized by terminal count, from Lite for one terminal to Elite for unlimited terminals. Each runs Windows Server with full Administrator RDP access, dedicated vCPU, NVMe storage, free daily backups and a 1 Gbit port, ready for MT4/MT5 and cTrader in London, New York or Chicago.

More from our blog

Discover more practical guides and product insights from the IM Host team.

View all articles