Hello guys, I just got back into Minecraft a couple of days ago, and when I entered Minecraft, I was experiencing lag spikes. Upon opening F3, It shows that the allocated memory is just 256mb, But in the JVM Arguments I have allocated 6Gb. Is there any way I can fix this?
My JVM Argument is: -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
My laptop has 16GB of RAM and NVIDIA GTX 1050 graphics card.
Hello guys, I just got back into Minecraft a couple of days ago, and when I entered Minecraft, I was experiencing lag spikes. Upon opening F3, It shows that the allocated memory is just 256mb, But in the JVM Arguments I have allocated 6Gb. Is there any way I can fix this?
My JVM Argument is: -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
My laptop has 16GB of RAM and NVIDIA GTX 1050 graphics card.
See https://minecraftirc.net/support-articles/windows/env-vars/