To anyone who the rest of this article isn't helpful for: In the Minecraft launcher, click edit profile. Look for where it says JVM arguments and change -Xmx1G to -Xms[Gigs of RAM]G. What this does is changes the amount of RAM Minecraft starts with. Mine is set to -Xms2G, so on startup it will have 2gigs of RAM.
My computer wont let me alter that. It keeps saying that it cant create the JVM.
I don't understand how you "right click" on minecraft and find the option to "run with graphics processor" where exactly do you right click on minecraft?
For me, right-clicking off the taskbar, start menu, or desktop the option will not come up. I have to open up Windows Explorer and find the executable file from the appropriate area. Idk, if that's your problem, but I just wanted to throw it out there.
Not bad, but there are a few commands that cause issues with some setups. On mine, those are -XX:+UseInlineCache and -XX:+UseAggressiveOps, and possibly -XX:+UseInterpreter. If you want a minimalist version of this setup, with just memory optimizations, this should work for anybody and reduce lag spiking when loading a chunk:
-Xmx(2/3 of total RAM)
-Xmn(3/8 of Xmx) (these two set the maximum space and the space before a minor garbage collection/lag spike)
Then, add -XX:+UseConcMarkSweepGC which is the better Garbage collector for avoiding fps lag.
Finally, to squeeze a bit more out, use the optimizations (high risk, high return):
-XX:+UseAggressiveOps (optimize at all costs)
-XX:+UseInterpreter (read minecraft line by line instead of saving it all to memory; faster execution)
-XX:+OptimizeStringConcat (optimize putting two sentences together; should yield small boost with text displayed)
-XX:+UseFastAccessorMethods (optimize data retrieval; should yield HUGE returns for games like minecraft)
Aside from that, I don't recall off the top of my head, but those alone will yield a decent boost without going overboard.
Oh, then where would I locate the java console or wherever I'm supposed to punch the lines into? I'm sorry for not understanding, but the internet and yahoo answers and even the official oracle page are quite vague about it.
It's in the Minecraft launcher, under Profile Settings. There's a line called "JVM arguments".
Not sure if anyone is still replying to this thread but I would like to get some help increasing my FPS for modded Minecraft. I'm using a 3 year old laptop with a i5-2450M 2.5 GHz processor. It has 2 cores and 4 threads. Intel® HD Graphics 3000 all with the latest drivers and the latest Java installed. I was wondering what java arguments I should use because anytime that I play modded my FPS goes anywhere from 30-33 all the way down to 10 and most times 1 or 0. I have 6 GB of RAM on here and so far the most I have been able to allocate is 2.5 GB of RAM. I have not touched any of the arguments that the Curse Voice client automatically puts into the profile/instance but I was hoping that someone could possibly help me with this.