First off this is a POSSIBLE solution to your problem...this helped me and i hope it helps others out there in the same situation as me.
Since first starting to play Minecraft i was experiencing very bad game play on my main system. My computer can max any game on the market but with minecraft i couldnt load high res textures or play games with a lot of mods in them. I reinstalled Java 20 times and nothing seemed to help.
Eventually it was pointed out to me that i had 2 Java Flags running for Memory Settings.
See Image:
If you are experiencing the same issues as i did then you could also have this same Java problem.
What happens is Java can be loading a second Memory Argument AFTER the one that is in the settings for Minecraft...this setting is in your registry and for me i think was loaded in by Windows Live (which is obviously a very common install)
See Registry Screenshot: (taken after changing Java from 512 to 4096)
As soon as i changed this setting from 512m to 4096m ALL MY PROBLEMS VANISHED.
Game FLYS now and i have 0 lag...game loads blocks 10 miles away with no hitches.
I can now load 512 Texture packs with no problems at all (could not load them before due to only using 512m)
I will probably delete the registry setting all together now so its not flaging it 2 times.
For those not familiar with editing the registry do the following.
1. go to start bar
2. in the search field type regedit and hit enter or click the regedit link that appears
3. go to File and Export to back up your registry (always do this before making changes)
4. Now select HKEY_CURRENT_USER
5. Then Environment
6. Change or Delete the Java Option that shows to the amount of ram you wish to dedicate to Minecraft.
7. Also you can try doing a search for the duplicate Argument such as in my case i did a search for -Xmx512m because that was my duplicate entry.
Since first starting to play Minecraft i was experiencing very bad game play on my main system. My computer can max any game on the market but with minecraft i couldnt load high res textures or play games with a lot of mods in them. I reinstalled Java 20 times and nothing seemed to help.
Eventually it was pointed out to me that i had 2 Java Flags running for Memory Settings.
See Image:
If you are experiencing the same issues as i did then you could also have this same Java problem.
What happens is Java can be loading a second Memory Argument AFTER the one that is in the settings for Minecraft...this setting is in your registry and for me i think was loaded in by Windows Live (which is obviously a very common install)
See Registry Screenshot: (taken after changing Java from 512 to 4096)
As soon as i changed this setting from 512m to 4096m ALL MY PROBLEMS VANISHED.
Game FLYS now and i have 0 lag...game loads blocks 10 miles away with no hitches.
I can now load 512 Texture packs with no problems at all (could not load them before due to only using 512m)
I will probably delete the registry setting all together now so its not flaging it 2 times.
For those not familiar with editing the registry do the following.
1. go to start bar
2. in the search field type regedit and hit enter or click the regedit link that appears
3. go to File and Export to back up your registry (always do this before making changes)
4. Now select HKEY_CURRENT_USER
5. Then Environment
6. Change or Delete the Java Option that shows to the amount of ram you wish to dedicate to Minecraft.
7. Also you can try doing a search for the duplicate Argument such as in my case i did a search for -Xmx512m because that was my duplicate entry.