To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.
Acquire a suitable internet connection. Your home internet is rarely enough for self-hosting. You can easily exceed bandwidth ...