You can play Minecraft solo, but it's much more fun with friends. Here's how to play multiplayer in Minecraft: Java Edition.
To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.