PaperMC / Folia

Fork of Paper which adds regionised multithreading to the dedicated server.
GNU General Public License v3.0
3.5k stars 439 forks source link

Stash optimization #49

Closed ghost closed 1 year ago

ghost commented 1 year ago

Is your feature request related to a problem?

.

Describe the solution you'd like.

nbt_deduplication

Describe alternatives you've considered.

https://github.com/xymb-endcrystalme/Kaiiju/commit/3e9cb6ec8dc15ffc9e6f5fa6ea0eed7235ac22de folia fork with this feature

Other

.

xKumorio commented 1 year ago

There's a problem with the chests in mintcraft. If there are too many of them and they will be filled with resource shulkers, then the server will simply shut down from lack of RAM. Also, the server hangs when loading and unloading chunk, saving the world.

sofianedjerbi commented 1 year ago

I don't think that is Folia goal

If you really want to suggest that feature you should open a feature request / bug report on Paper repo

Spottedleaf commented 1 year ago

I will be making no changes to the data format on disk, otherwise worlds from or to Vanilla will not load. I also cannot make changes to how items are stored in memory, even at the NBT level as plugins will use all kinds of hacks to do things. So, I am in a position where I can't work on this.

xKumorio commented 6 months ago

@Spottedleaf Has anything changed since then? Is it possible to fix the server hang when loading a large number of chests with things with the appearance of Sectorfile?

Spottedleaf commented 6 months ago

@Spottedleaf Has anything changed since then? Is it possible to fix the server hang when loading a large number of chests with things with the appearance of Sectorfile?

No