To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.
You can host a Minecraft server for free on your own computer. Using software like MC Server Soft or Crafty Controller 4 ...