Lag isn't just from memory allocation. Allocating 48G of memory to begin sounds very negligent unless you actually set your GC up for 48G of memory. I've never allocated more than 12GB to a modpack with the proper arguments and have never had any issues with 6 of us playing. You want more new gen collection happening than old gen. With 48G memory your GC ticks are going to have very long delays. What is your CPU? What's your network speeds? You can throw all the memory you want it but it's not going to fix a poor CPU. What's your wait on next tick %? Answer from Soggy-Cup473 on reddit.com
🌐
Reddit
reddit.com › r/feedthebeast › what is the "all the mods 7" recommended memory ram?
r/feedthebeast on Reddit: What is the "All the mods 7" recommended Memory ram?
February 21, 2023 -

Hi, i have been playing ATM 7 with two of my friends total of 3 players. we have done alot in our world, but server keeps lagging now. i have increased the minimum ram and maximum ram, but still lagging.

anyway i have a seperated PC, i made it as a server for ATM7 only. So, it have all the CPU priority, and ram. it got 48gb of memory ram.

THE QUESTION IS, HOW MUCH MEMORY RAM IS RECOMMENDED TO PREVENT LAG.

AND WHAT CONFIG SETTINGS CAN I MADE TO PREVENT THIS LAG.

THANKS

Top answer
1 of 2
5

Lag isn't just from memory allocation. Allocating 48G of memory to begin sounds very negligent unless you actually set your GC up for 48G of memory. I've never allocated more than 12GB to a modpack with the proper arguments and have never had any issues with 6 of us playing. You want more new gen collection happening than old gen. With 48G memory your GC ticks are going to have very long delays.

What is your CPU? What's your network speeds? You can throw all the memory you want it but it's not going to fix a poor CPU. What's your wait on next tick %?

2 of 2
2

On the internet, you will see a lot of advice about "if you allocate too much memory, the garbage collector will let all the memory fill up, then create a massive 'gc pause' lag spike as it clears out all the memory!". This used to be true in the Java 8 days using the "Parallel" or "ConcurrentMarkSweep" collectors, which were prone to doing that unless you used a massive wall of Java arguments. But for years now, the default garbage collector is G1, which optimizes for minimal pause times right out of the box. G1 is a very smart collector and it will likely do what you want without having to think about it too much.

Aikar's flags look good but I would be skeptical about those "here, paste these 5 million java arguments" lists.

That said, there is an important JVM memory optimization called "compressed oops" that is only possible to leverage if you allocate less than 32gb of memory. If you allocate more than 32gb, every single object on the Java heap becomes much larger, so you will consume memory faster than if you allocate less. Never allocate more than 32gb of RAM to Java (unless you are allocating way more than 32gb, like 100gb)

Also, set the minimum RAM and maximum RAM to the same value. If there's wiggle room, the JVM is allowed to release memory it's not using at the moment back to the computer, and then it will have to waste time reclaiming it again when it needs more memory.

tl;dr 16gb

🌐
Feed The Beast Wiki
ftb.fandom.com › wiki › All_the_Mods_(modpack)
All the Mods (modpack) - Official Feed The Beast Wiki
3 weeks ago - All the Mods is a CurseForge and Technic modpack created by the ATM Team. It is a general large kitchensink modpack, with over 200 mods. It was originally launched for 1.8.9, but then updated to 1.9 and then settled ...
🌐
CurseForge
curseforge.com › minecraft › modpacks › all-the-mods-7
All the Mods 7 - ATM7 - Minecraft Modpacks - CurseForge
1.18 Modpack with everyone's favorite mods as well as a ton of new mods to try out. 3.0M Downloads | Modpacks
🌐
Feed The Beast Wiki
ftb.fandom.com › wiki › All_the_Mods_7
All the Mods 7 - Official Feed The Beast Wiki
June 5, 2026 - It is a general large KitchenSink modpack, with 258 mods. Originally released on 1.17.1 but eventually updated all the way to release 1.18.1. [Complete mod list] All the Mods 7 on CurseForge All the Mods 7 on GitHub)
🌐
CurseForge
curseforge.com › minecraft › modpacks › all-the-mods-7 › files › all
All the Mods 7 - ATM7 - Files - Minecraft Modpacks - CurseForge
1.18 Modpack with everyone's favorite mods as well as a ton of new mods to try out. 3.0M Downloads | Modpacks
🌐
CurseForge
curseforge.com › minecraft › modpacks › all-the-mods-10
All the Mods 10 - ATM10 - Minecraft Modpacks - CurseForge
The top pack of 2026 with around 500 mods! Tons of quests and a proper endgame. ... All the Mods started out as a private pack for just a few friends of mine that turned into something others wanted to play!
🌐
All The Guides
allthemods.github.io › alltheguides › atm7
All The Mods 7 - All The Guides
It has all the basics that most other “big name” packs include but with a nice mix of some of newer or lesser-known mods as well.
Find elsewhere
🌐
Modpack Index
modpackindex.com › modpacks › all the mods 10 - atm10
All the Mods 10 - ATM10 - Modpack Index
June 25, 2024 - All the Mods 10 - ATM10 is a Minecraft modpack with 478 mods. The top pack of 2026 with around 500 mods! Tons of quests and a proper endgame.
🌐
Modpack Index
modpackindex.com › modpacks › all the mods 7 - atm7
All the Mods 7 - ATM7 - Modpack Index
May 10, 2024 - All the Mods 7 - ATM7 is a Minecraft modpack with 338 mods. 1.18 Modpack with everyone's favorite mods as well as a ton of new mods to try out.
🌐
CurseForge
curseforge.com › minecraft › modpacks › all-the-mods-8
All the Mods 8 - ATM8 - Minecraft Modpacks - CurseForge
Over 350 mods with quests and shaders on the 1.19.2 version of MC. Download All the Mods 8 - ATM8 by ATMTeam, with over 9.2M+ downloads on CurseForge
🌐
CurseForge
curseforge.com › minecraft › modpacks › all-the-mods-7-to-the-sky
All the Mods 7 - To the Sky - atm7sky - Minecraft Modpacks - CurseForge
Starting with only a tree, fill the void with large amounts of technology and magic! 2.1M Downloads | Modpacks
🌐
All The Guides
allthemods.github.io › alltheguides
Welcome - All The Guides
By default, in the launcher or instance (modpack) settings, 4GB is allocated. Recommended MAX allocation is 8-12GB | 8192-12288Mb.
🌐
Fandom
minecraftology.fandom.com › wiki › List_of_Dimensions
List of Dimensions | Minecraftology Wiki | Fandom
4 days ago - And in the latest Super Modded Survival ( Technic version by Amaxter ), has at least 20 dimensions!