Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.20.1 Memory Leak? #125

Open
EliasRipley opened this issue Sep 8, 2024 · 0 comments
Open

1.20.1 Memory Leak? #125

EliasRipley opened this issue Sep 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@EliasRipley
Copy link

Describe the bug

Heya, we've noticed our ram usage gradually going up over last couple of days so have been keeping our eyes peeled for anything that could be responsible. Finally saw this today:

If anyone understands what the heck any of this means / has a solution for us, would be greatly appreciated. 😄

[11:43:12] [fr.denisd3d.mc2discord.shadow.reactor-http-nio-3/ERROR] [fr.de.mc.sh.io.ne.ut.ResourceLeakDetector/]: LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information. Recent access records: Created at: TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:403) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:174) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:108) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.discord4j.gateway.ZlibDecompressor.lambda$completeMessages$1(ZlibDecompressor.java:68) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxFlatMap$FlatMapMain.tryEmit(FluxFlatMap.java:544) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxFlatMap$FlatMapInner.onNext(FluxFlatMap.java:985) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.MonoCollectList$MonoCollectListSubscriber.onComplete(MonoCollectList.java:129) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxWindowPredicate$WindowFlux.checkTerminated(FluxWindowPredicate.java:766) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxWindowPredicate$WindowFlux.drainRegular(FluxWindowPredicate.java:660) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxWindowPredicate$WindowFlux.drain(FluxWindowPredicate.java:746) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxWindowPredicate$WindowFlux.onComplete(FluxWindowPredicate.java:812) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.onNext(FluxWindowPredicate.java:241) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:122) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:122) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.core.publisher.FluxFilter$FilterSubscriber.onNext(FluxFilter.java:113) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:292) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.netty.channel.FluxReceive.onInboundNext(FluxReceive.java:401) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.netty.channel.ChannelOperations.onInboundNext(ChannelOperations.java:404) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:734) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.netty.http.client.WebsocketClientOperations.onInboundNext(WebsocketClientOperations.java:163) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:113) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1383) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1246) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1295) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) TRANSFORMER/[email protected]/fr.denisd3d.mc2discord.shadow.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base/java.lang.Thread.run(Thread.java:1583)

Your config file

No response

@EliasRipley EliasRipley added the bug Something isn't working label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant