How Much RAM and CPU Does a FiveM Server Need?
No official RAM or CPU figure exists for FiveM. Learn what drives memory and CPU load, why single-core speed matters and how to measure your own server.
The short answer is that nobody can give you one fixed number. The official server setup docs list no hardware requirements, so any figure you find online comes from a hosting vendor or a community post. Start from what drives the load, then measure your own server during peak play.
Short answer
Plan for fast single-core CPU performance first, then enough RAM for your players, resources and database, with headroom left over. The docs give no number for either. Measure a running server at peak time and size the machine from what you see.
What drives RAM?
RAM use is not fixed. It grows with:
- Players online. More players mean more player state and more network sync to track.
- Resources. Every started resource and its data takes memory. A large framework with many addon vehicles or clothing packs uses more than a small one.
- The database. MySQL or MariaDB runs as a separate process with its own memory use. If it shares the machine, it competes with FXServer.
- The operating system. One forum post reports that 4 GB was enough on Linux but not on Windows.
Answers on the Cfx.re forum range from about 4 GB for one basic FXServer instance to around 16 GB for a heavy roleplay server with many custom assets and a database on the same machine. These are community opinions, not official figures, and most of them give no player count. Use them only as a starting point.
Memory that keeps climbing over hours is a different problem. That usually points to a leak, not a sizing issue. See FiveM server crashing after hours.
What drives CPU?
CPU load comes from the work the server does on each tick:
- Resource code on the main server thread. Event handlers, loops, callbacks and timers all run there. The official profiler docs measure each resource tick in milliseconds.
- Player count and sync work. More players means more updates each tick.
- Database calls. Slow queries can add to tick time when resource code waits on them.
- Host load. Backups, other services on the same machine and, on a VPS, CPU steal from other guests all cost you time.
Single-core speed vs core count
The official docs I checked do not say how FXServer uses CPU cores. Hosting vendors and our FiveM VPS guide say the main server thread runs game logic on one core, so per-core speed matters more than core count. Treat that as the common explanation, not an official specification.
More cores still help the rest of the machine. The operating system, the database and other services can all use them. A sensible choice is a CPU with fast single-core performance and enough cores for everything else on the same box. Compare single-thread benchmarks for CPU models, not just core counts.
How do I measure a running server?
Measure instead of guessing. Run these during peak play, not just after a restart.
On Linux:
top
free -h
vmstat 5
- In
top, press1to show each core. If one core stays near 100% while the others sit idle, the main thread is probably saturated. - In
free -h, watch theavailablecolumn. It should stay comfortably above zero. - In
vmstat 5, thesiandsocolumns show swapping. Sustained swapping stalls everything. Thestcolumn shows CPU steal on virtual machines.
To check only the FXServer process, find its name first with ps aux | grep -i fx, since the binary name can differ between installs. Then run:
ps -o pid,rss,pcpu,comm -C FXServer
rss is resident memory in kilobytes. Take a reading at start, at peak and again after several hours to see the trend.
On Windows, use the Details tab in Task Manager or Resource Monitor and look at the FXServer process.
For the server side, record a profile during a lag spike from the server console:
profiler record 500
Use profiler status to check the capture, and profiler saveJSON filename.json to save it. The FiveM profiler guide explains how to read the result. For per-resource detail in game, see FiveM resmon.
Planning checklist
- Write down your expected peak player count, resource count, framework and whether you use OneSync.
- Decide where the database runs and count its memory too.
- Choose a CPU with strong single-core performance and ask the host whether your cores are dedicated.
- Measure an empty server, then the same server at peak, and note RAM and per-core CPU for each.
- Leave headroom for growth and keep swap activity quiet.
- Measure again after adding resources, since each one changes the load.
- When hitches appear, profile first and only then buy hardware.
FAQ
Is there an official RAM or CPU figure for a FiveM server?
No. The official server setup page lists no hardware requirements. Vendor and forum figures vary widely, so measure your own server.
Does a faster CPU help more than more cores?
For the main server thread, usually yes, because that thread limits most servers. More cores help the database and other services. See the single-core section above.
How do I know if I need more RAM?
If available memory stays low, swap activity rises at peak, or FXServer memory keeps growing over hours, you need more RAM or fewer resources. Growth over hours can also be a leak, so check that first.
Sources
- FiveM docs: Setting up a server. Official. States no hardware requirements.
- FiveM docs: Using the Profiler. Official. Profiler commands and per-tick timing.
- Cfx.re forum: How much RAM should a FiveM server need?. Community answers, not official statements.
- Space-Node: FiveM server requirements 2026. Hosting vendor guidance. Not verified, and no figures are taken from it.
Last checked: 29 November 2026
Note: vendor figures disagree with each other and were not verified. Forum answers are opinions, not Cfx.re statements. The Cfx.re client requirements article could not be retrieved, so it is not cited.
FiveM.tools was founded with sponsorship from Nyru.