Kubatech's WorldMixin will produce a huge number of CallbackInfoReturnable objects #13699
Closed
3 tasks done
Labels
Bug: Minor
Status: Triage
Issue awaiting triage. Remove once this issue is processed
Type: Lag
Issue causes TPS or FPS lag
Your GTNH Discord Username
No response
Your Pack Version
2.3.2
Your Server
forge server
Java Version
Java 8
Type of Server
Vanilla Forge
Your Expectation
I found something wrong with memory like this



Then I realized that I had a huge amount of CallbackInfoReturnable objects in memory
Then I used mixin debug to find this
It's on github here
World.getBlock()
is a hot method that gets called frequently in the main tick. I think we should use something else instead of this Mixin injectionThe Reality
:(
Your Proposal
Use something else instead of this injection. :)
Final Checklist
The text was updated successfully, but these errors were encountered: