Code Monkey home page Code Monkey logo

Comments (6)

jrhee17 avatar jrhee17 commented on June 3, 2024

This looks like a old version, and there's been quite a few bugfixes regarding buffer leak since 😅

Is it difficult for you to try and upgrading and seeing if the issue persists?

from armeria.

whyuan avatar whyuan commented on June 3, 2024

I tried to upgrade armeria to version 1.27.2,but the issue persists:

ResourceLeakDetector.reportTracedLeak - 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:
    io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:404)
    io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)
    io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
    io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:116)
    com.linecorp.armeria.internal.client.thrift.THttpClientDelegate.execute(THttpClientDelegate.java:134)
    com.linecorp.armeria.internal.client.thrift.THttpClientDelegate.execute(THttpClientDelegate.java:78)
    com.linecorp.armeria.client.metric.AbstractMetricCollectingClient.execute(AbstractMetricCollectingClient.java:63)
    com.linecorp.armeria.client.logging.AbstractLoggingClient.execute(AbstractLoggingClient.java:66)
    com.linecorp.armeria.internal.client.ClientUtil.pushAndExecute(ClientUtil.java:160)
    com.linecorp.armeria.internal.client.ClientUtil.initContextAndExecuteWithFallback(ClientUtil.java:114)
    com.linecorp.armeria.internal.client.ClientUtil.initContextAndExecuteWithFallback(ClientUtil.java:80)
    com.linecorp.armeria.client.UserClient.execute(UserClient.java:190)
    com.linecorp.armeria.client.UserClient.execute(UserClient.java:144)
    com.linecorp.armeria.internal.client.thrift.DefaultTHttpClient.execute0(DefaultTHttpClient.java:80)
    com.linecorp.armeria.internal.client.thrift.DefaultTHttpClient.execute(DefaultTHttpClient.java:53)
    com.linecorp.armeria.internal.client.thrift.THttpClientInvocationHandler.invokeClientMethod(THttpClientInvocationHandler.java:142)
    com.linecorp.armeria.internal.client.thrift.THttpClientInvocationHandler.invoke(THttpClientInvocationHandler.java:97)
    jdk.proxy2/jdk.proxy2.$Proxy85.battleMsgNotifyResponse(Unknown Source)
    jdk.internal.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.base/java.lang.reflect.Method.invoke(Method.java:568)
    rpc.client.ClientPool.invoke0(ClientPool.java:133)
    rpc.client.ClientPool$1.invoke(ClientPool.java:117)
    jdk.proxy2/jdk.proxy2.$Proxy85.battleMsgNotifyResponse(Unknown Source)
    jdk.internal.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
    java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.base/java.lang.reflect.Method.invoke(Method.java:568)
    common.rpc.client.proxy.DefaultRpcProxyFactory$RpcClientProxy.invoke(DefaultRpcProxyFactory.java:80)
    jdk.proxy2/jdk.proxy2.$Proxy85.battleMsgNotifyResponse(Unknown Source)
    battle.service.notify.BattleSubWriter.battleMsgNotifyResponse(BattleSubWriter.java:139)
    battle.service.notify.BattleSubWriter.handleBattleServerResponse(BattleSubWriter.java:110)
    battle.service.notify.BattleSubWriter.doWork(BattleSubWriter.java:67)
    java.base/java.lang.Thread.run(Thread.java:842)

from armeria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.