Now that I know I have 8 gb ram, I will be safe and allocate 6 gb to minecraft.(leave at least 1gb to run OS)
If I wnat 6 GB I have to rember that half the 6144(6gb) is 3072(3gb)
So I open up notepad and the this code:
The bold and underlined text is what you change. For the first one you put the mb of ram you want, mines 6gb so thats 6144mb. The Second one is half of what you want, so mines 3072(3gb).
And the 3rd(my name) you put your User name on your pc.
Now you go to the start menu and serch CMD and RUN AS ADMINISTRATOR!!
Then click the top left cmd [Only registered and activated users can see links. ] and go to edit>paste(puush dosnt let me take a picture of cmd?)
Now you should see the code you just made... press enter
Your minecraft client should open after about 5 seconds and your done!
I wrote this tutorial 100% Please give me a thumbs up and thanks this thread if you are feeling nice