Looking to selfhost a family Minecraft server for my kids and nephews. Got it running on an old media server box but it keeps crashing due to not enough RAM, even with just one test player. I was hoping to unveil it as a Christmas surprise until I hit this wall. Anyone have a ballpark for what processing and RAM a small server like this will need?

For Java edition with no mods I consider 2gb the absolute bare minimum. That’s dedicated specifically to the JVM, not system wide.
4gb to be able to have any useful render distance for multiplayer IMO.