ModernFix

ModernFix

72M Downloads

Enhancement : Forgebackport "Prevent release of custom payload packet buffer" from 1.18 and "Re-add patch to release buffer in custom payload packet" from 1.17

quentin452 opened this issue ยท 2 comments

commented

Forgebackport "Prevent freeing custom payload packet buffer" from 1.18 and "Re-add fix to free buffer in custom payload packet" from 1.17 to potentially fix major memory leak that can crash on big modpack due to lack of memory after 3-6 hours of games caused by packetbuffer.release().

issues :

MinecraftForge/MinecraftForge#8573
EnigmaticaModpacks/Enigmatica6#4469

codes need to be backported :

Prevent release of custom payload packet buffer :
MinecraftForge/MinecraftForge#8181
Re-add patch to release buffer in custom payload packet
MinecraftForge/MinecraftForge#8042

commented

Added an experimental patch for this but left it off by default until it can be tested more thoroughly.

commented

ok