sp614x / optifine

1.81k stars 416 forks source link

OptiFine 1.14.4 stuttering with JourneyMap #3569

Open Draoken opened 4 years ago

Draoken commented 4 years ago

OptiFine 1.14.4 HD U F5 Journeymap 1.14.4-5.7.0b1

Steps:

Signing in, I have some other mods running (JEI, Quark, AutoRegLib, BiomesOPlenty), and a shader pack (Silder's Shader pack 1.262).

Runs flawlessly. Singleplayer or multiplayer, all settings higher than default.

-Add Journeymap mod

Instantly start getting lag spikes on a regular basis, possibly due to garbage collection, chunk loading, etc. Found this from some research. No combination of graphics setting changes or changes to java arguments fixed this (trust me I've tried just about everything from the past 7 years).

I've heard JourneyMap has some performance issues related to rendering chunks.

Here's a picture showing the spikes 2020-03-24_10 00 51

Here's a picture showing what it looks like (This is optifine free, but a good indicator) 2020-03-24_09 58 49

sp614x commented 4 years ago

Does it happen with only OptiFine and JourneyMap installed?

Alaberti commented 4 years ago

I'm having the same issue, and testing with JUST optifine and journeymap, no shaders, it still occurs. It is consistently spiking on GC. I tested from 4GB to 8GB and it consistently spikes during cleanup.

2020-03-25_09 10 05

2020-03-25_09 10 10

mysticdrew commented 4 years ago

@sp614x I am the Journeymap dev.

This issue is caused by some overridden finalize methods. When I remove the overridden finalize methods the lag spikes go away. No idea why optifine causes this issue with overridden finalize methods. It worked fine in the past, why would it start causing issues now?

evs-dev commented 4 years ago

@mysticdrew Do you plan to fix this/make it an option?

shimmer-n-shine commented 4 years ago

bump: same exact issue, as long as optifine and journeymap are co-loaded, even with no other mods and no shaders, there's constant stuttering, and the performance graph shows that the problem is from the Garbage Collector. It tries to cleanup nearly a gigabyte of data every few seconds.

Sausius commented 4 years ago

I have the excact same issue and it's pretty unfortunate because it's pretty much what keeps me from changung to version 1.14.4 form 1.12.2.