ATM10 Server Lag: How to Find and Fix It (2026)
Published
Short answer: most All the Mods 10 lag is the main thread, not RAM. Find out what's costing time with /spark profiler, pre-generate the world with /neoforge generate, limit chunk loaders that keep factories running while nobody is online, and leave the pack's Item Clear on. Only add RAM if spark shows the heap is actually full.
Everything below was checked against the ATM10 8.3 server files (NeoForge 21.1.259, Minecraft 1.21.1, 469 mod jars), the same files a new All the Mods 10 server on Packyard installs. If you run a newer pack version, the file names are the same but check the values.
First: is it lag, or is it memory?
Run these three commands as an operator. spark ships in the ATM10 server files (spark 1.10.124), so there's nothing to install.
/spark tps
/spark health
/spark gc
- TPS below 20 and MSPT above 50 ms, with memory well under the limit: the server can't finish its work in one tick. That's CPU and main thread. Keep reading.
- Memory near 100% and frequent garbage collection in
/spark healthand/spark gc, orjava.lang.OutOfMemoryErrorin the log: it's memory. Our ATM10 RAM guide has the sizes (8 GB is the floor, 10 GB for a small group) and the out-of-memory crash fix walks through the heap errors. - TPS is 20 but players still rubber-band: that's network or the client, not the server. Check the player's own FPS with
/sparkc(the client-side version of spark, also in the pack).
Find what's costing time
Guessing wastes hours on a pack with almost 500 mods. Measure.
spark profiler
/spark profiler start --timeout 180
After three minutes spark posts a link. Open it, expand Server thread, and follow the biggest percentages down. Mod names show up in the package names (mekanism, appeng, com.simibubi.create and so on). For lag that only comes in spikes, record only the bad ticks:
/spark profiler start --only-ticks-over 100 --timeout 300
NeoForge's own tracker
NeoForge has a built-in timer that tells you which block and where, which spark doesn't:
/neoforge track start blockentity 60
/neoforge track blockentity
The second command (run after the 60 have passed) lists the 10 slowest block entities with their dimension and coordinates, so you can walk to the machine and see it. Swap blockentity for entity to find mob farms and item piles. You need operator level 2.
Observable
ATM10 also includes Observable (5.4.4), which shows the same kind of result as an in-game overlay. Bind its key in Controls first. It's handy when the person fixing things is a player, not the admin.
The usual ATM10 culprits
1. Chunk generation
ATM10 has a lot of worldgen mods, and exploring new land generates terrain on the main thread. When several players fly or travel in different directions, TPS drops. Pre-generate with NeoForge's command, which is built in (ATM10 doesn't include Chunky, and you don't need it):
/neoforge generate start 0 64 0 156
/neoforge generate status
/neoforge generate stop
The last number is a radius in chunks, not blocks: 156 chunks is about 2,500 blocks around the point, and 313 is about 5,000. The command needs operator level 4 (the console has it) and accepts up to 2,500 chunks. Pre-generation is itself heavy work, so run it when nobody is playing, and do the Nether separately:
/execute in minecraft:the_nether run neoforge generate start 0 64 0 100
Then tell players to stay inside that area for the first weeks. If your server isn't built yet, a fresh world plus pre-gen before anyone joins is the cheapest fix there is.
2. Chunk loaders and factories that never sleep
Mekanism, AE2, Create, Modern Industrialization and the rest all tick on the same main thread. Ten players each with an automated base is the normal ATM10 endgame, and that's what slows most long-running servers.
ATM10 doesn't ship its own FTB Chunks settings, so the mod's defaults apply: force-loaded chunks keep running while their owner is offline only if the owner has the ftbchunks.chunk_load_offline permission from FTB Ranks (also in the pack). To stop all offline loading, copy the config into the world and change one line:
world/serverconfig/ftbchunks-world.snbt
force_load_mode: "never"
max_force_loaded_chunks in the same file sets how many chunks each player can keep loaded. Lower it if one player's base shows up at the top of every profile. Restart the server after editing; don't edit configs while it runs.
3. Dropped items and mob farms
Thousands of loose items on the ground cost time every tick. ATM10's Crash Utilities Item Clear is already on in config/crashutilities-server.toml:
["Item Clear"]
enabled = true
timer = 5
maximum = 1000
It checks every 5 minutes and clears ground items when there are more than 1,000, with chat warnings at 20 and 5 seconds. If someone turned it off, turn it back on. For a one-off clean-up:
/cu entities list
/kill @e[type=minecraft:item]
For farms, /neoforge track start entity 60 points straight at the pen with 400 cows in it.
4. View and simulation distance
The pack's start script writes a new server.properties with view-distance=8 and simulation-distance=5. Simulation distance is the one that costs CPU: it's how far from each player mobs, crops and machines tick. Dropping it to 4 cuts the ticking area per player from 121 chunks to 81. Don't raise either value on a busy ATM10 server.
5. The watchdog crash
If the server freezes and then stops with A single server tick took 180.00 seconds, that's the watchdog: the start script sets max-tick-time=180000 (3 minutes). That isn't the problem; something froze the tick, and the crash report names the thread that hung. Don't set it to -1 to hide it. Fix the cause the profile shows.
Should you change the JVM flags?
The ATM10 server files ship a tuned G1 garbage collector setup in user_jvm_args.txt (-XX:+UseG1GC, -XX:MaxGCPauseMillis=200, -XX:G1HeapRegionSize=8M and more, with -Xms4G -Xmx8G). Some guides tell you to switch to ZGC. Only try that if spark shows long GC pauses (/spark gc), and compare the same test before and after. Changing collectors doesn't fix main-thread lag, which is what most ATM10 lag is.
What does help on a server you run yourself: raise -Xmx to fit your RAM (the pack default is 8 GB) and leave 1 to 2 GB of the machine for everything else. On Packyard you don't set this: the heap is 85% of the plan, and any -Xmx the pack ships is removed.
When the answer is "less pack"
If your group mostly wants one part of ATM10, a smaller pack lags less on the same CPU:
- ATM10: To the Sky: the same mod set as skyblock, so there's no big world to generate. It runs on 5 GB. See ATM10: To the Sky hosting.
- Create+: if it's really the Create side you're after, read how to run a Create+ server and keep contraptions from lagging.
Not sure how much RAM your group needs for either? The RAM calculator gives a size by pack and player count.
Run it on Packyard
Packyard charges $1.50 per GB of RAM per month (USD plus applicable taxes). All the Mods 10 starts at 8 GB ($12) with 10 GB recommended, and ATM10: To the Sky starts at 5 GB ($7.50). The order page shows which sizes are in stock right now; when a size is sold out it says so. You get a permanent address, daily backups plus backups you make yourself in the panel, SFTP, and sub-users for friends who help run it. Available in the US and Canada (not Quebec).
Run ATM10: To the Sky from $7.50, or see every modded pack we run.
All the Mods is made by its authors. Packyard is not affiliated with All the Mods, Mojang or Microsoft.
FAQ
Why does my ATM10 server lag with plenty of RAM?
Because the main thread is the limit, not memory. Machines, mobs and terrain generation all run on one thread. Run /spark profiler start --timeout 180 to see which mod costs the time.
Does ATM10 include Chunky?
No. The 8.3 server files don't include it, but NeoForge has pre-generation built in: /neoforge generate start 0 64 0 156 generates about 2,500 blocks around 0,0.
How do I find the laggiest machine on my ATM10 server?
Run /neoforge track start blockentity 60, wait a minute, then /neoforge track blockentity. It lists the 10 slowest block entities with their coordinates.
Should I disable Item Clear in ATM10?
No. It only removes loose items on the ground when there are more than 1,000, every 5 minutes, with warnings first. It's one of the cheapest lag fixes in the pack.
Is ZGC better than G1 for ATM10?
Not by default. The pack ships tuned G1 flags. Only switch if /spark gc shows long garbage collection pauses, and measure before and after.
What view distance should an ATM10 server use?
The pack's default is view distance 8 and simulation distance 5. If TPS drops with many players online, lower simulation distance to 4 before anything else.
More guides and posts on the Packyard blog.