mezz / JustEnoughItems

Item and Recipe viewing mod for Minecraft
https://www.curseforge.com/minecraft/mc-mods/jei
MIT License
781 stars 303 forks source link

[Crash/LongLoadingTime]: jei:forge_gui #3477

Open zaryar opened 6 months ago

zaryar commented 6 months ago

Steps to Reproduce the Crash

Hey, when I want to join a single player world, it takes a really long time to load and sometimes crashes. I've looked into my latest log and saw this:

[02:11:24] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 5.002 seconds so far [02:11:29] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 10.00 seconds so far [02:11:34] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 15.00 seconds so far [02:11:39] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 20.00 seconds so far [02:11:44] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 25.00 seconds so far [02:11:49] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 30.00 seconds so far [02:11:54] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 35.00 seconds so far [02:11:59] [pool-31-thread-1/ERROR]: Registering Runtime: jei:forge_gui is running and has taken 40.00 seconds so far

Ive tried to give MC more ram, from 12gigs to 20 gigs. It prevents the crashing, but it does not prevent the long loading time.

Is this for everyone like this or do I need to clear a config file.

Thanks guys ;)

Mod Pack URL (Optional)

All the Mods 9 - ATM9

Mod Pack Version (Optional)

0.2.56

Crash Report

https://gist.github.com/zaryar/6a2232880d00af8b9a2591f574134631

EvilKingStan commented 6 months ago

Fresh install, trying to load my first world. Same thing as OP.

EvilKingStan commented 6 months ago

Third attempt to load into fresh world... Third Crash on same step. [11:13:11] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: sophisticatedstorage:default took 117.7 milliseconds [11:13:16] [pool-27-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: create:jei_plugin is running and has taken 5.266 seconds so far [11:13:21] [pool-27-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: create:jei_plugin is running and has taken 10.00 seconds so far [11:13:25] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: create:jei_plugin took 14.28 seconds [11:13:25] [Render thread/INFO] [me.je.li.in.IngredientManager/]: Ingredients are being removed at runtime: 55 net.minecraft.world.item.ItemStack [11:13:25] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: bloodmagic:jei_plugin took 42.51 milliseconds [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: ae2:core took 1.501 seconds [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: forbidden_arcanus:main took 92.31 milliseconds [11:13:27] [Render thread/INFO] [me.je.li.in.IngredientManager/]: Ingredients are being removed at runtime: 1 net.minecraft.world.item.ItemStack [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: theurgy:jei_plugin took 17.53 milliseconds [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: quark:quark took 40.46 milliseconds [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: supplementaries:jei_plugin took 14.07 milliseconds [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering recipes: jei_mekanism_multiblocks:jei_plugin took 98.57 milliseconds [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering recipes took 39.13 s [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering recipes transfer handlers... [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering recipes transfer handlers took 18.41 ms [11:13:27] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building runtime... [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering gui handlers... [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering gui handlers took 28.17 ms [11:13:27] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering Runtime... [11:13:27] [Render thread/INFO] [me.je.gu.st.JeiGuiStarter/]: Starting JEI GUI [11:13:27] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building ingredient list... [11:13:27] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building ingredient list took 16.08 ms [11:13:27] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building ingredient filter... [11:13:27] [Render thread/INFO] [me.je.gu.in.IngredientFilter/]: Adding 69595 ingredients [11:13:32] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 5.001 seconds so far [11:13:38] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 10.87 seconds so far [11:13:43] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 15.56 seconds so far [11:13:47] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 20.15 seconds so far [11:13:53] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 25.92 seconds so far [11:13:58] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 30.40 seconds so far [11:14:02] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 35.00 seconds so far [11:14:08] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 40.60 seconds so far [11:14:13] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 45.30 seconds so far [11:14:17] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 50.00 seconds so far [11:14:22] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 3357ms or 67 ticks behind [11:14:23] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 55.90 seconds so far [11:14:28] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.010 minutes so far [11:14:32] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.084 minutes so far [11:14:38] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.177 minutes so far [11:14:42] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.253 minutes so far [11:14:50] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 3244ms or 64 ticks behind [11:14:50] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.381 minutes so far [11:14:52] [pool-30-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.420 minutes so far Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "ModernFix integrated server watchdog"

eboii commented 6 months ago

Same thing as OP, same ATM9 modpack log: [14:44:55] [Render thread/INFO] [me.je.li.lo.PluginCaller/]: Registering Runtime... [14:44:55] [Render thread/INFO] [me.je.gu.st.JeiGuiStarter/]: Starting JEI GUI [14:44:55] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building ingredient list... [14:44:55] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building ingredient list took 16.36 ms [14:44:55] [Render thread/INFO] [me.je.co.ut.LoggedTimer/]: Building ingredient filter... [14:44:55] [Render thread/INFO] [me.je.gu.in.IngredientFilter/]: Adding 69596 ingredients [14:45:00] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 5.001 seconds so far [14:45:05] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 10.87 seconds so far [14:45:11] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 16.56 seconds so far [14:45:15] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 20.55 seconds so far [14:45:20] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 25.82 seconds so far [14:45:26] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 31.41 seconds so far [14:45:30] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 35.28 seconds so far [14:45:36] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 41.25 seconds so far [14:45:40] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 45.03 seconds so far [14:45:45] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 50.68 seconds so far [14:45:51] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 56.38 seconds so far [14:45:55] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.001 minutes so far [14:46:01] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.099 minutes so far [14:46:06] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.194 minutes so far [14:46:10] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.258 minutes so far [14:46:21] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 6413ms or 128 ticks behind [14:46:21] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.436 minutes so far [14:46:21] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.436 minutes so far [14:46:25] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.501 minutes so far [14:46:31] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.599 minutes so far [14:46:36] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.692 minutes so far [14:46:40] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.756 minutes so far [14:46:46] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.849 minutes so far [14:46:51] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 1.943 minutes so far [14:46:55] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.007 minutes so far [14:47:01] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.100 minutes so far [14:47:06] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.192 minutes so far [14:47:12] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 5845ms or 116 ticks behind [14:47:12] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.291 minutes so far [14:47:16] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.359 minutes so far [14:47:24] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.495 minutes so far [14:47:27] [pool-31-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 2.533 minutes so far

Elay2306 commented 6 months ago

honestly 2 of my friends got this issue fixed with adding more RAM but as @zaryar already tried that, i am not even sure whats the issue there exactly (8 GB RAM wasnt enough, 10 GB fixed it)

zaryar commented 6 months ago

Yes but the loading time for jei does not make any sense to me 🧐

eboii commented 5 months ago

honestly 2 of my friends got this issue fixed with adding more RAM but as @zaryar already tried that, i am not even sure whats the issue there exactly (8 GB RAM wasnt enough, 10 GB fixed it)

Actually I played on the same PC setup (with RAM at 6 or 8 gigs) in ATM9 maybe half a year ago, and it was much faster (still quite a load but no sitting watching minecraft exe not responding for 5 minutes). And now I updated modpack and yeah, I need something to blame, let it be JEI. I will try it with 10 gigs, but yeah

Yes but the loading time for jei does not make any sense to me 🧐

HeyItzGeo commented 5 months ago

having this issue too ] [pool-42-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 44.09 seconds so far untill it times out from connecting to the server

zaryar commented 5 months ago

I have the same problem on a server. Always like 2-3 mins loading time. Maybe it's an AMD GPU problem?

eboii commented 5 months ago

I have the same problem on a server. Always like 2-3 mins loading time. Maybe it's an AMD GPU problem?

Nope. I have Nvidia GPU (1080 ti)

OneLiteFeather commented 3 months ago

I have the same issue as well with atm9 and java 21 ([19:16:29] [pool-43-thread-1/ERROR] [me.je.li.lo.PluginCallerTimerRunnable/]: Registering Runtime: jei:forge_gui is running and has taken 4.603 minutes so far)

Greymagic27 commented 2 months ago

Having the same issue with ATM9

HeyItzGeo commented 2 months ago

It's JEI

On Wed, 31 Jul 2024, 6:05 pm Greymagic27, @.***> wrote:

Having the same issue with ATM9

— Reply to this email directly, view it on GitHub https://github.com/mezz/JustEnoughItems/issues/3477#issuecomment-2260975894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3B3D5SEVSL764Z7KBHGVDZPEKNBAVCNFSM6AAAAABFUJ4VHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQHE3TKOBZGQ . You are receiving this because you commented.Message ID: @.***>

Greymagic27 commented 2 months ago

No really!!

Hence why it's reported on the JEI issue tracker

HeyItzGeo commented 2 months ago

Uninstall JEI and use the other one

On Thu, 1 Aug 2024, 1:42 pm Greymagic27, @.***> wrote:

No really!!

Hence why it's reported on the JEI issue tracker

— Reply to this email directly, view it on GitHub https://github.com/mezz/JustEnoughItems/issues/3477#issuecomment-2262945707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3B3D2V5OB6O6I6UPLAP2TZPIUMVAVCNFSM6AAAAABFUJ4VHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRSHE2DKNZQG4 . You are receiving this because you commented.Message ID: @.***>

Greymagic27 commented 2 months ago

'the other one' is?

mezz commented 2 months ago

I have pushed some memory optimizations for JEI in later versions, but there is currently a crash from LDLib that prevents ATM9 from upgrading JEI. We are working on a solution currently. I just added a new system that should let LDLib work more compatibly with JEI once they update.

mezz commented 2 months ago

On this pack in particular, it helps to add a lot more RAM. When the game is trying to load things and the RAM is nearly full, the java garbage collector is going to spend a long time running and things get extremely slow.

mezz commented 2 months ago

GPU is not involved with JEI loading at all, so it's not that.

D3SL commented 2 months ago

I'm using the latest version of JEI in a personal setup and loading times are still absurd. It takes me longer to load a world in singleplayer than it does to boot up minecraft entirely, many minutes easily. And once ingame spark shows that "forge GUI" calls are way too burdensome.

mezz commented 2 months ago

Can you show me the full client log? Are you running out of RAM? It doesn't take very long at all for most people, so there is likely something specific to your setup that is causing a problem. I can help look into it if you provide more detailed information.