GTNewHorizons / GT-New-Horizons-Modpack

A big progressive questing modpack for Minecraft 1.7.10 balanced around the mod GregTech.
https://www.gtnewhorizons.com/
Other
1.02k stars 311 forks source link

looking up the produce of multiple bees in NEI will cause massive lag and eventually result in game crash #17757

Open EdenExecutive opened 1 month ago

EdenExecutive commented 1 month ago

Your GTNH Discord Username

Eden Executive

Your Pack Version

2.6.0/2.7.0 beta3

Your Server

SP

Java Version

Java 21

Type of Server

Single Player

Your Expectation

be able to look up the produce of bees in NEI without my game's used memory exploding, my CPU going to 90%+ use and my game eventually crashing

The Reality

game starts to seriously stutter once a certain number of queens have been checked (I checked queens, might also apply to princesses and drones but have not tested this so can't guarantee). eventually the game will freeze completely and crash. while this process is ongoing its likely to see large spikes in CPU usage

Your Proposal

While im a layman when it comes to coding and stuff I believe this might have something to do with the amount of data that bees contain as well as the "recently searched" bar that was added on the bottom of NEI. seems like the amount of data that gets stored will fill up the memory use of the game and put massive strain on the PC at the same time. personally im running 2.6.0 but I had someone else test this on 2.7.0 beta3 and he experienced the same issues

Final Checklist

chochem commented 2 weeks ago

please post a log. best fml latest. not guaranteed to be useful but best to check.

EdenExecutive commented 1 week ago

crash-2024-11-14_14.10.36-server.txt

EdenExecutive commented 1 week ago

I do have to add my version has Optifine installed instead of Angelica, but I had someone test this same thing in 2.7 beta3 and he experienced the same problem while having made no alterations to the pack