You need at least 1GB of RAM to run your Minecraft Server. Although, it is recommended to use a 2GB of RAM server with an SSD storage type and at least 2 CPU cores.