Ok, I believe I've fixed this on my machine. I am using the Java 8 version. I have to use vsync. and I use these Java arguments from this thread. I also have to be in full screen.
-Xmn2G -Xss4M -Xms4G -Xmx4G -XX:+UseLargePages -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=10 -Djava.net.preferIPv4Stack=true
And it's eliminated the lag for me. Not sure what exactly it's done but it's working so far. But I'm not holding out hope too much. This tends to happen, it'll go away then come right back.
Edit: It does still come back sometimes and I'm not sure why but this does help a lot.
Not sure on the processor I'll have to check on that. But I'm getting 120-160 FPS but every few seconds it drops about 40+ Frames. It's only when I'm viewing the world with camera movement, if I run in a straight line it's either nonexistant or very reduced.
When the spike does occur it is weird that whatever is in my hand almost appears to swing. But I don't think it's actually swinging. You can really see it in my video I posted at about the 12 second mark if you click on the gear in the Youtube video and select speed .25, you see the arm/sword swing forward a bit. Not sure if that's tied into this or not though.
I did yes, I tried 2G, 4g, 6g, and I'm using 64 bit jre8.
From the video I made, I'm running Java 8 and still getting lag.
I'm at my wits end with this, for nearly three months now on many many versions of Minecraft I get massive FPS drops when just looking around my world. I have a i5-4570, 8 gigs of ram, Windows 8.1, GTX 760 with latest drivers, the games installed to an SSD, the game is vanilla, this happens in SP, Realms and MP. It happens in Full screen and windowed mode. I've tried Java 32, 64, 7&8. I've tried so many things. I load up a world and I get a solid 100-120 FPS, then after a couple seconds I get drops of 60-80FPS every couple of seconds. Sometimes Minecraft says it's allocated 100% of memory, sometimes not, I've upped the memory, lowered it.
I just have no idea what to do anymore. The game is unplayable and I don't want to reformat my PC for one game. All other games work great!
I made a Youtube showing what it looks like.
https://www.youtube.com/watch?v=Iv6EjeM_z88
Here's a second video with different Ram settings and Java 1.8
This is now occurring whether in fullscreen or not. 😞
This works as intended.
Can you post a screenshot of the issue? This would better help the developers fix the issue.
This works as intended.
This works as intended.
And for others moving to 64 bit does nothing.