It isn't just the ram but also a high Ghz the processor is on that server. Example would be I had a 4Ghz processor with 8GB of ram and that server ran perfectly with it set to 20 slots. You have to consider that Minecraft is ram and processor intensive and you need both high numbers in ram Mhz and Ghz.