I've been trying to read all these topics about lag and I haven't found anyone talking about the problem I'm having, and I'm curious if other are having similar issues. Like many other I have been dealing with massive lag since the update.
A few things before I get started.
Specs: Windows 7, i7 Sandy, 16G Ram, Radeon HD 6800 with 1G
Java: 1.8u20 x64
JVM: -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn2G
So the behavior I am experiencing is while I have a 120fps, every few seconds it freezes for half a second. Looking at the memory usage it goes from 0% to 80-99% over a few seconds and then freezes and drops back down to near 0, which starts the cycle all over. I have tried a bunch of different JVM configurations and this behavior has been consistent. I'm not overly familiar with the GC or its commands.
If you don't know what you are doing, you should just be using the default arguments.
Right now you've shot yourself in the foot by setting the new generation space to your whole heap. This makes GC inefficient because there's no place for long term memory to be put after it is flagged as a 'survivor'. So the GC has to process that memory every time.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumA few things before I get started.
Specs: Windows 7, i7 Sandy, 16G Ram, Radeon HD 6800 with 1G
Java: 1.8u20 x64
JVM: -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn2G
So the behavior I am experiencing is while I have a 120fps, every few seconds it freezes for half a second. Looking at the memory usage it goes from 0% to 80-99% over a few seconds and then freezes and drops back down to near 0, which starts the cycle all over. I have tried a bunch of different JVM configurations and this behavior has been consistent. I'm not overly familiar with the GC or its commands.
So suggestions?
Right now you've shot yourself in the foot by setting the new generation space to your whole heap. This makes GC inefficient because there's no place for long term memory to be put after it is flagged as a 'survivor'. So the GC has to process that memory every time.