GameTeam recommends at least 8GB of RAM to play ATM7 on a server. That number goes higher if there'll be more modpacks and mods installed on the game, also you'll need to add another GB for every 4-5 extra players. You can start with 10GB of RAM for 10 people playing All the Mods 7.