A terminal that grows 30 MB a day looks fine on any single day. Over a month it has added 900 MB, which on a small VPS is the difference between running and frozen.
The idea: the date a terminal runs out of memory is just division, if you measure the growth rate correctly.
Illustrative VPS: 2,048 MB of RAM, and you want to stay under 90% of it, which is 1,843 MB. The terminal is at 1,150 MB today and grows 30 MB a day.
- Headroom: 1,843 − 1,150 = 693 MB.
- Days left: 693 ÷ 30 = 23 days.
Two details that change the answer:
- Measure a slope, not a level. Read memory at the same time of day, a week apart. Say 1,150 MB on day 0 and 1,360 MB on day 7: that is 210 ÷ 7 = 30 MB a day, and from day 7 you have (1,843 − 1,360) ÷ 30 = 16 days left. A single reading tells you nothing about the date.
- The restart interval caps the peak. At 30 MB a day, a weekly restart tops growth out at 7 × 30 = 210 MB above the fresh-start level, so the peak is about 1,360 MB, safely under 1,843 MB. The same leak with a restart every 30 days reaches 1,150 + 900 = 2,050 MB, past the ceiling.
The part people miss: you don't have to fix the leak to be safe. You have to make the restart interval shorter than headroom ÷ growth rate. A slow leak with a weekly restart is harmless, and a "stable" terminal that never restarts is not.
VRD Terminal Health shows terminal memory and Windows uptime next to your connection and Algo Trading status, and has a weekly restart reminder. It doesn't forecast growth or restart the terminal for you, so write the two readings down yourself.
What to do today: read your terminal's memory now and again in 7 days at the same time. Divide your headroom by the daily change and set your restart day inside that number.
Try it: Try the free demo of VRD Terminal Health in the Strategy Tester to see its readiness panel; memory and uptime readings on your own VPS need a live terminal, which a 1-month rental covers.
https://www.mql5.com/en/market/product/205568
Virtual Risk Desk
Illustrative arithmetic for a made-up VPS with a steady growth rate; real terminals grow unevenly. Good monitoring helps you catch problems earlier; it doesn't prevent losses. Educational content, not trading advice.


