MrCrayfish's Furniture Mod (Legacy)

MrCrayfish's Furniture Mod (Legacy)

96M Downloads

Absurd load times in Forge Server

delta9690 opened this issue ยท 3 comments

commented

On an Aternos Server, running Forge 1.12.2 (14.23.5.2768), load times for this mod are exceeding 300 seconds, which causes the server to exceed the load time limits given by Aternos, preventing it from starting.

image

Please complete the following information:

  • Minecraft Version: 1.12.2
  • Mod Version: 6.3.0
commented

5 minutes to load, yikes. That definitely doesn't sound normal. This is the first time anyone has experienced this, so it sounds like an issue on your side. What is the specs of your server? Have you allocated enough ram? My furniture mod adds over 250 blocks. Without enough ram, it's going to freeze until the garbage collector frees memory.

Heres the break down for Pre Initialization in my mod:

  • Register config events
  • Initialize Blocks, Item, Sounds, Crafting
  • Initialize Packet Handler
  • Initialize config
  • Register advancement triggers

Then depending on the side
CLIENT:

  • Register keybinds
  • Register creative gui category tab events
  • Register sprites

SERVER:

  • Register crafting fix
  • Register sync event for config
  • Register missing mappings events

There are no URL requests in that (something that other mods do sometimes and significantly slow down load times). I stick to my original statement and you should check your server configurations.

commented

RAM on Aternos depends on player slots. Every server starts with 500mb of ram and gains 100mb more for every player slot added.

commented

Ahh, well that's a clear indicator of the slow load. So to solve your problem, you need better server. 500mb is simply not enough for a modded server.