To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.
You can install Minecraft Forge for free from the Forge website, and then use it to download and enable mods.
Acquire a suitable internet connection. Your home internet is rarely enough for self-hosting. You can easily exceed bandwidth ...