BreweryTeam / BreweryX

An actively maintained, support given, and addon supported fork of Brewery with tons of extra features.
https://discord.gg/3FkNaNDnta
GNU General Public License v3.0
58 stars 21 forks source link

Memory Leak #11

Closed andrusharusakov closed 2 months ago

andrusharusakov commented 4 months ago

image image

The plugin is on purpur 1.21.

TomLewis commented 3 months ago

What makes you think its a leak an not just loading every barrel at server startup?

I think from memory every chunk a barrel is in, is loaded at server start, so if you have a lot of barrels and players, its a lot of memory loaded.

Intybyte commented 2 months ago

Not really a memory leak but that part might need a bit of optimization

Jsinco commented 2 months ago

This is not a memory leak. This is just BreweryX constantly getting the blockstate of a brewing stand for distilling. It's due to bad code from the original authors in a certain class, something that'll be cleaned up eventually.