GTNewHorizons / GT-New-Horizons-Modpack

New Modpack with Gregtech, Thaumcraft and Witchery
https://www.gtnewhorizons.com/
Other
945 stars 295 forks source link

Massive Lag and Freeze in ME Terminals when pressing shift #15826

Closed Impos913 closed 5 months ago

Impos913 commented 5 months ago

Your GTNH Discord Username

impvt

Your Pack Version

2.6.0 beta-1

Your Server

SP

Java Version

Java 21

Type of Server

Single Player

Your Expectation

Hold shift in terminal gui without issues

The Reality

Holding shift in various ME Terminals cause massive lag and freeze.

Your Proposal

https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial/pull/449 likely caused by this, when held shift it locks items sorting and I assume on a large system with items constantly changing it cause a freeze

Final Checklist

Caedis commented 5 months ago

can you post a recording on this?

Impos913 commented 5 months ago

https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/assets/36479271/cdb0f08a-7f42-4fdd-9c16-1afc50ada226

Caedis commented 5 months ago

Thanks! That makes it clear

MushroomDynamo commented 5 months ago

I also had this issue appear on my server last week for myself and my players (2.5.1 Java 20, updated to appliedenergistics2-rv3-beta-326-GTNH). Removed all drives and reinserted them one at a time--was able to reproduce even with a relatively small amount of items, though fps would drop to maybe ~75% of its normal amount instead of completely freezing. Issue persisted through server restarts.

Worryingly, the issue went away by itself after most of a day and we haven't seen it since.

Glease commented 5 months ago

is there a base download (or your test creative world, or even just a few chunks) that can replicate this problem? It sounds highly base dependent.

boubou19 commented 5 months ago

is there any invalid pattern in the terminal? I found out those are lagging the terminal in a more general fashion.

Impos913 commented 5 months ago

No invalid patterns. I'll try to make a download later, just keeping the base chunks

Impos913 commented 5 months ago

https://discord.com/channels/181078474394566657/401118216228831252/1227530644398276619

Impos913 commented 5 months ago

After the fix I get 1 fps instead of complete freeze and not responding state.