• We just launched and are currently in beta. Join us as we build and grow the community.

Minecraft JVM Arguments!

trixe

Zero-Day Researcher
T Rep
0
0
0
Rep
0
T Vouches
0
0
0
Vouches
0
Posts
76
Likes
62
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 400 XP
All Credit Goes to : https://xealgaming.net/members/tenelia.728/
The Post (Follow in detail) : Introduction
The purpose of this thread is to help players with less capablegraphic cardsin their computers get better performance in Minecraft. This is mainly achieved by entering a long chain of JVM arguments in your launcher's "Edit Profile". Please keep in mind that I am not a Java expert. I have merely done my own research into Java, so I am only sharing what I have discovered. If anything goes wrong, just delete the chain of JVM arguments that you have used.
How to Use
  • Before you use the JVM arguments, you must increase all your video settings to the maximum.
  • Please also note that you must be running the latest version of Optifine.
  • Once the above is done, ensure that you are running on the latest version of Java 8.
  • Start the game first and note down your current FPS when you hit F3.
  • If you have more 3GB of RAM to spare, copy and paste the below code into the JVM Arguments:
    -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10
  • If you only have 1GB of RAM to spare, use this:
    -Xmx1G -Xms1G -Xmn128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=2000 -XX:ParallelGCThreads=10
Important Things to Note
  • "-Xmx3G -Xms3G -Xmn768m" tells Minecraft to use 3GB of RAM. If you have less than 4GB of RAM, DO NOT use this. Always ensure that your system has at least 2GB of RAM leftover. Never ever use ALL the RAM or your computer will crash.
  • "-XX:ReservedCodeCacheSize=2048m" tells Minecraft to reserve 2GB of RAM for storing code that might be used again. If you allocated 2GB of RAM to Minecraft, you need to reduce the number here to half of that, which is 1024m for example.
  • "-XX:SoftRefLRUPolicyMSPerMB=10000" keeps the soft reference to 10 seconds per MB. If it lags your computer, feel free to reduce the number of remove the line entirely.
Conclusion
No matter what results you get from using my JVM Arguments, you must share your experience here! I was running at 48 FPS before this and now I am running at 100FPS!
  • Connected Textures in your video options must be turned off.
  • Don't assign too much RAM. Always leave 2GB for your computer.
 

425,172

310,807

310,816

Top