There are a few different ways to change your Minecraft username, but most users will do it through the Xbox website.
To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.