aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/renderer/LODRenderer.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-07 21:44:14 +0200
committermakamys <makamys@outlook.com>2022-06-07 21:44:14 +0200
commit3814324d0d83ebf600874356d65687958cd4e42e (patch)
treee6db43b78e0ebebc6fa2d2a5166919733197fa3b /src/main/java/makamys/lodmod/renderer/LODRenderer.java
parenta5148760dce388602243bbfc43793056ae36d5cd (diff)
downloadNeodymium-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.java2
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();
}