You can use the Magic Wand tool in Photoshop to automatically select a specific section of the image, and then edit it in various ways.
To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.