Refined Storage

Refined Storage

107M Downloads

Too many items in storage system results in disconnect on opening item grid

tmaaan54 opened this issue ยท 2 comments

commented

Issue description:

With over 3 million (estimated) items in storage, server disconnects when item grid is accessed.

What happens:

Screen becomes grey, then disconnects with the message "Payload may not be larger than 1048576 bytes"

What you expected to happen:

Opening item grid works as normal

Steps to reproduce:

  1. Have over 3 millions items in storage system (estimated)
  2. Attempt to access item/crafting grid

Modpack: All The Mods 6

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

  • Minecraft: 1.16.5

  • Forge: 36.1.2

  • Refined Storage: 1.9.12

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

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

latest.log

Using multiple disks from refined storage or a single disk from extra storage does not appear to make a difference.

commented

This happens due to the number of items with NBT data. Usually due to mob farms or similar. Removing those should fix the issue.

Item count itself does not matter if you only have a lot of the same item.

commented

That seems to have fixed the problem for now, but is there any way around this? Or do I just have to throw away all my enchanted books and armor/swords from now on?

Edit: now it's not working. What other items might be doing this? I'm throwing away all bows/crossbows and swords/armor up to netherite tier.

Edit2: I remembered fishing rods, so I added them to the list and it seems to be working again... for now anyway :/

Edit3: Here we go again. I added rock crystals from astral sorcery to the list, but it's not working and I can't think of anything else that might be doing it.