Java Edition," you'll first need to download a free program called OptiFine.
To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.