diff options
author | makamys <makamys@outlook.com> | 2022-06-07 21:44:14 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-07 21:44:14 +0200 |
commit | 3814324d0d83ebf600874356d65687958cd4e42e (patch) | |
tree | e6db43b78e0ebebc6fa2d2a5166919733197fa3b /src/main/java/makamys/lodmod/renderer/LODRenderer.java | |
parent | a5148760dce388602243bbfc43793056ae36d5cd (diff) | |
download | Neodymium-3814324d0d83ebf600874356d65687958cd4e42e.tar.gz Neodymium-3814324d0d83ebf600874356d65687958cd4e42e.tar.bz2 Neodymium-3814324d0d83ebf600874356d65687958cd4e42e.zip |
Incremental GC
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer/LODRenderer.java')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/LODRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODRenderer.java b/src/main/java/makamys/lodmod/renderer/LODRenderer.java index fb49e7b..7dac491 100644 --- a/src/main/java/makamys/lodmod/renderer/LODRenderer.java +++ b/src/main/java/makamys/lodmod/renderer/LODRenderer.java @@ -124,7 +124,7 @@ public class LODRenderer { if(LODMod.debugEnabled && Minecraft.getMinecraft().currentScreen == null) { handleKeyboard(); } - if(lastGCTime == -1 || (System.currentTimeMillis() - lastGCTime) > gcInterval) { + if(lastGCTime == -1 || (System.currentTimeMillis() - lastGCTime) > 10) { mem.runGC(); lastGCTime = System.currentTimeMillis(); } |