Refined Storage

Refined Storage

77M Downloads

[1.12.2] Casue lag on server!

yuanjie000 opened this issue ยท 2 comments

commented

Issue description:

once using rs to autocraft something, the sever become lag.
used hundreds of crafting pattern

tps

Version (make sure you are on the latest version before reporting):

  • Minecraft:1.12.2
  • Forge:14.23.0.2517
  • Refined Storage:refinedstorage-1.5.21

Does this issue occur on a server? [yes/no]
yes

If a (crash)log is relevant for this issue, link it here:

here is an nps file of the server
lowtps.zip

commented

image

Sorry for jumping in. I was asked for giving a rough analysis on the profiling report. As you can see, I stunk on these abnormal behaviors:
image
image
image

isOreDict should not be that time-consuming. Moreover, searching all previous issues in the issue tracker does not reveal any similar issue(s) in the past. The most-matching issue is #838 which has been duplicated multiple times, but according to the profiling result submitted, it is unlikely to connect #838 to this issue.
Therefore, this issue shall be considered as a separate issue, as it may point out a new underlying design flaw.

commented

A network is turning off and on, causing the crafting pattern chain to rebuild constantly. Make sure enough power is supplied to the controller. This is not caused by autocrafting.