Everything we published

How much RAM does a Create Aeronautics server need? What we measured

An 18 GB heap, about 11 GB of it alive, 6 GB more outside it, and 13 players at 19.6 TPS: the memory of our own Create Aeronautics server, and three mistakes we made with it.

by VOIDIVIDE 6 min read

guidemcperformanceserver

For people who run, or want to run, a Create Aeronautics server on NeoForge 1.21.1. Instead of a rule of thumb, here is what we measured on our own server, STYGION MC, which has run our STYGION Aeronautics modpack since October 2026: version 1.2.4 has 515 mods (Create Aeronautics, Sable ships, Mekanism, AE2), and the server loads 477 of them, the rest being client-only.

The short answer

  • We run an 18 GB heap, and after a garbage collection about 10 to 11.4 GB of it is still alive. That is the number that matters, and it grows with the world.
  • Plan about 6 GB on top of the heap for everything that is not the heap. With a 20 GB heap our server process used 26.5 GB in total.
  • Never let it swap. Swap turned 30 ms pauses into 2-second ones on our server.
  • With that memory, 13 players held 19.6 TPS. What gave out first with more players was the tick (processor time), not memory.

What the numbers are

Live data, not "used heap". A panel that shows heap use will show it almost full most of the time: the G1 collector lets the heap fill up before it cleans. Keystone's five-minute samples on our server report a peak of about 17.4 GB of the 18 GB heap in every window, with 1 player or with 13. That says nothing about how much you need. What you need is what survives a collection: on STYGION MC that was about 10 GB at the end of October and 10 to 11.4 GB on 21 November, as the world grew (more than 1,400 new block entities a day).

Memory outside the heap. A big NeoForge pack keeps a lot outside the Java heap: loaded classes and code for 477 mods, thread stacks, network buffers, and native memory of mods with native parts. Sable, the physics behind Create Aeronautics ships, runs native code that keeps its own copy of the terrain around loaded ships. On our server this was about 6 GB: a 20 GB heap meant 26.5 GB for the whole process.

Players. These are Keystone's samples of ordinary play on STYGION MC between 18 and 26 November 2026, all on the 18 GB heap, simulation distance 8 or 10:

  • 1 player: 36,100 chunks loaded, median tick 38.5 ms, 20 TPS
  • 3 players: 36,600 to 39,700 chunks loaded, median tick 32 to 48 ms, 19.2 to 20 TPS
  • 5 players: 37,800 to 38,400 chunks loaded, median tick 28 to 37 ms, 20 TPS
  • 7 players: 46,100 chunks loaded, median tick 45.6 ms, 20 TPS
  • 8 players: 50,200 chunks loaded, median tick 53.0 ms, 18.1 TPS
  • 13 players: 49,900 chunks loaded, median tick 47.7 ms, 19.6 TPS

The heap did not change between these samples. The tick did: a Minecraft server has 50 ms per tick, and ships, Mekanism multiblocks and Create contraptions take it. More memory would not have moved any of those numbers.

Three mistakes we made, so you don't have to

1. A heap too big for the machine. We started with a 20 GB heap on a host with 30 GB of RAM. With 6 GB outside the heap and the system on top, the server ended up in swap. A garbage collector pause that normally takes 6 to 35 ms took up to 2.2 seconds, because the collector threads were waiting for memory to come back from disk, and the server stood still for up to 4 seconds at a time. We went down to 18 GB and gave the server process a hard memory reservation, so the kernel can no longer swap it out. Leave the operating system and anything else on the machine its own room.

2. Copying flags meant for a smaller pack. The popular G1 flags for Minecraft (Aikar's) set the young generation to at least 40 % of the heap. We had already lowered it to 30 %, and with 10 GB of live data in an 18 GB heap plus a 15 % reserve the old generation still did not fit, and the server went into a loop of full collections: 250 to 410 an hour, each about 1.3 seconds. We lowered -XX:G1NewSizePercent to 15 and -XX:G1ReservePercent to 10, and the loop stopped. On a big pack, check that live data plus the young generation's minimum plus the reserve still fits in the heap.

3. Switching collectors to fix pauses. We tried Generational ZGC, which collects alongside the game instead of stopping it. At 18 GB it made things worse: ZGC does not compress object pointers, so the same world took 15.5 GB of the heap right after start, the heap kept running out, and threads, the main server thread included, stalled for up to 1.2 seconds waiting for memory. We were back on G1 the same evening. ZGC needs clearly more heap than G1 for the same world.

What we would do on your server

Our own reading of the numbers above, not a measured rule:

  • Set -Xms and -Xmx to the same value, so the heap is reserved once at start.
  • For a world like ours (a month old, ten or so regulars), a heap of 16 to 18 GB and a machine with at least 6 GB more than that, plus the system.
  • Look at live data after a collection, not at "used heap", before you change the heap. With GC logging on (-Xlog:gc), every Pause Young line shows the heap before and after the collection.
  • When the server lags, measure the tick first (spark, or Keystone's daily sample). On our server it was never memory once the swap was gone.

Smaller or newer worlds need less: other servers that share Keystone samples, with 490 to 610 mods loaded on NeoForge 1.21.1, held 20 TPS on 10 to 16 GB heaps with one or two players and a few thousand chunks loaded. We have not measured the least our pack can run on, so we do not print a minimum.

Measure your own

The runs behind numbers like these are on stygion.eu/performance: pick a pack and a machine and see what was really measured on machines like it. If you run STYGION Keystone, /keystone bench start adds your server's numbers, without a name or an address.

If your server is lagging and you cannot tell why, we trace it for a fixed price: stygion.eu/studio.

Come and argue with us

Everything we make gets argued about in one Discord. Ideas, bugs and the occasional very long message about JVM flags.