A vanilla Terraria server for a handful of friends needs about 1 GB of RAM. A tModLoader server running Calamity or Thorium needs 4 to 6 GB, because mods load at startup whether anyone is online or not. The official minimum is 512 MB, which starts but leaves nothing spare once a world grows.
Terraria's config allows up to 255 players, and almost nobody should use that. Past roughly 16 concurrent players, boss fights and events are where it falls apart, because every player adds projectile, NPC and dropped-item physics to the same simulation.
How much RAM a Terraria server needs
| Setup | RAM | Notes | |---|---|---| | Official minimum | 512 MB | Runs a small world, no headroom | | Vanilla, small group | 1 to 2 GB | Comfortable for 4 to 8 players | | Vanilla, larger world | 2 to 4 GB | Large worlds cost more than large player counts | | tModLoader, moderate mods | 3 to 4 GB | The jump happens at load, not at peak | | Calamity, Thorium, big packs | 4 to 6 GB | Content mods add NPCs and projectiles, not just items |
The pattern worth internalising: world size and mods drive RAM, player count drives CPU. It is the same split that decides how much RAM a Minecraft server needs. A 4-player Calamity server can need more memory than a 15-player vanilla one.
Why a Terraria server lags
Lag on Terraria almost always comes from one of four things, and they have different fixes.
Too many entities. Dropped items, projectiles and NPCs are all simulated. A statue farm, an AFK fishing setup or a few thousand uncollected items will do more damage than an extra player. Clearing dropped items is usually the single biggest win.
Boss fights and events. These spawn projectiles faster than anything else in the game. A server that is smooth for weeks can stutter its first Moon Lord fight, and that is not a hardware fault so much as the workload changing shape.
Spawn rates. Raising spawn rate multipliers feels harmless and multiplies the simulation cost of every zone anyone stands in.
World size. A large world holds more active tiles and more of everything above. Choose the world size for the group you actually have.
What actually helps
- Clear dropped items before blaming the host. This is the most common cause we could fix in one click, and it costs nothing.
- Match world size to the group. A large world for four people is paying, in memory and simulation, for space nobody visits.
- Keep spawn multipliers at default unless you have a reason and are watching the effect.
- Restart on a schedule if you run heavy mods. It is a blunt fix for memory that creeps, and it works.
- Pick a region near your players. Terraria is more forgiving of latency than a shooter, but building and boss dodging both suffer.
Vanilla or tModLoader
They are different servers with different needs, and mixing them up is where most sizing mistakes start.
- Vanilla is light. 1 to 2 GB covers most groups, and the CPU rarely becomes the limit below 16 players.
- tModLoader loads every mod into memory at startup. The cost is paid whether one person is online or ten, which is why a modded server that "idles fine" can still be short on RAM.
- Every player needs the same mods to join a tModLoader server. There is no download-on-join, so agree the list before you start the world. Valheim and Factorio both work this way too.
Our Terraria server hosting runs from 2 GB, with tModLoader installable from the panel and automatic backups before you change anything.
When you do not need us
Four people playing occasionally on a small world do not need a dedicated server. One of you can host from the game and it costs nothing. A dedicated server earns its place when people play at different times, when the world matters enough that losing it would hurt, or when a modpack has outgrown what a laptop will hold open.

by 


