More RAM for minecraft

Solution 1:

The argument at the beginning: -xmx1G defines the maximum ram usage. Try changing the 1G to 3500M for 3.5GB Maximum usage. Also if that doesn't work change it to1500M Also get 64-Bit Java or else the steps above might not work.