To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.
The good news is that the most common issues aren't severe enough to put you off hosting your own server altogether. Here are ...