The short answer
You want to run a Factorio world for your friends and need to know how much memory to give it. This guide works wherever the server runs: your own PC, a spare machine at home, a rented machine or a host.
Wube Software, the studio behind Factorio, does not publish a RAM figure for a dedicated server. We looked on factorio.com and the official wiki and found none. Any table of server sizes you find is someone's estimate.
General guidance: memory follows the world, meaning how much map has been explored, how big the factory is and which mods are on, more than the number of players. The reliable answer is to measure your own save, then leave room for it to grow.
What Wube does publish
The factorio.com store page lists requirements for playing the game: 4GB RAM at minimum and 8GB recommended, with a dual core 3GHz processor at minimum and quad core recommended. Those figures are for a PC that runs the full game with graphics.
A dedicated server is a different case. The wiki's Multiplayer page says that on a dedicated, or headless, server, "Graphics are not initialized", which gives a faster start-up and "less memory usage". So the game's requirements are not a server requirement, and they say nothing about how large your world will become.
What makes a server use more memory
None of the points below has a Wube number behind it. Treat them as general guidance and check them against your own measurement.
- The explored map. A world that has been explored far in every direction holds more than a fresh start.
- The factory. More belts, machines, trains and robots mean more for the server to keep track of.
- Mods. Large mods and big mod packs add to the load. The wiki's performance page also counts mod scripts as a cost on every update.
- Space Age. Turning the expansion on changes the game a lot. Measure again after you switch it on.
- Players. Each player adds something, but on a server for friends the world usually matters more than the head count.
How to measure your own save
- Use your real save. The wiki says the dedicated server "REQUIRES a save file to be provided". Load the world you actually play, not a fresh map.
- Join it. The wiki also lists that the game "is paused while there are no players connected", so an empty server does not show you a normal evening.
- Read the memory once it has loaded. On Windows, look at the Factorio process in Task Manager. On Linux,
toporhtopshows it. On a rented server, use the memory readout in your host's panel. - Play a normal session and note the highest reading. Include the moments around an autosave.
- Measure again after big changes: a new outpost, a new mod, or Space Age switched on.
General guidance: size the server above your highest reading with clear headroom, because a Factorio world only grows.
Memory is not the only limit: watch UPS
Factorio runs its world in updates. The wiki puts it this way: Factorio "aims for 60 ticks per second, the game has 16.667ms to calculate each tick." UPS, updates per second, is the number to watch. General guidance: on a very large factory, UPS is usually the first limit you hit, and more memory does not fix it.
To check it in the game, press F4 to open the debug settings menu, as the wiki describes. Then:
- show-fps "will show your FPS and UPS counter in the top right of your screen." Factorio aims for 60.
- show-time-usage shows how much each part of the game costs per tick.
- show-multiplayer-statistics shows the network delay in multiplayer.
The wiki's rule of thumb: "you can think of it as 1ms of time costing you about 3.5 UPS."
Running the server yourself
A few points from the wiki's Multiplayer page, if you host on your own machine:
--createmakes a new save, and--start-serverfollowed by the path to a save starts the dedicated server.- "Starting the factorio server requires you to specify the location of the server-settings.json file."
- "Factorio servers use port 34197." If friends join from outside your home, set up port forwarding on your router for that port.
Run the measurement above on the machine that will host, with the other programs you normally have open, since they share the same memory.
Renting a server
A plan's RAM is the ceiling for the whole server. Compare it with the highest reading from your own save. If you have no save yet, a new map with a few friends starts small and grows over the weeks you play (general guidance). Starting smaller and moving up when your readings get close to the ceiling is a sensible path, so check how a host handles a move to a bigger plan and whether your saves come with you. Keep your own copy of the save before any move.
Factorio on PlayDubious
We sell two Factorio plans:
| Plan | Price | RAM | Recommended players | Storage | vCPU | Backup slots |
|---|---|---|---|---|---|---|
| Factorio Small | $8/mo | 2 GB | Up to 8 | 10 GB | 1.5 | 2 |
| Factorio Large | $14/mo | 4 GB | 4–16 | 20 GB | 2 | 3 |
See the Factorio plans and order
Factorio Small lists up to 8 recommended players and Factorio Large lists 4–16. To bring a world you already have, upload its .zip file into the saves folder on the Files tab and set Save Name on the Startup tab. Space Age is a switch on the Startup tab, followed by a restart; every player then needs Space Age too. Mods come from the official mod portal through the Mods tab, using your own factorio.com username and token, which we never ask for.
Factorio plans include 2 to 3 backup slots, depending on the plan, and they are month to month. To move to the larger plan later, email support@playdubious.com with your server name and the plan you want.
Factorio servers hosted here are unofficial and not affiliated with Wube Software.
Quick answers
Does Wube publish a RAM requirement for a Factorio server?
No. The published requirements are for playing the game on a PC with graphics.
Do more players need more RAM?
Some, but general guidance is that the map, the factory and the mods count for more. Measure your save.
Will more RAM fix lag?
Not if UPS is the problem. Turn on show-fps in the F4 debug settings and look at the UPS counter.