Forestry

Forestry

65M Downloads

ByteBuf leak detected in WorldgenBeekeepingLogic.readData

Folling opened this issue ยท 0 comments

commented

Friend of mine approached me with a report of a memory leak. They attached this screenshot:
image

I'm not a minecraft modder so I'm unsure what exactly causes this problem, but it seems that the bytebuf is created as a new RC and then missing a call to release() to decrease the RC in some callsite before here:

public void readData(FriendlyByteBuf data) {

Minecraft version 1.12.2

Mods used:
https://www.technicpack.net/modpack/the-1122-pack.1406454/mods
plus
image

Issue appears constantly and causes frequent GC passes to run with the minimum used memory always increasing due to the leak.