netty-socketio icon indicating copy to clipboard operation
netty-socketio copied to clipboard

ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information

Open 1414215371 opened this issue 3 years ago • 5 comments

image I see the previous issues have explained this memory leakage problem, also provides a solution

reason: WebSocketTransport line 144 : Packet packet = new Packet(PacketType.MESSAGE); //subType =null PacketEncoder line 288: byte subType = toChar(packet.getSubType().getValue()); //NullPointerException example: fix WebSocketTransport Packet packet = new Packet(PacketType.MESSAGE); packet.setSubType(PacketType.DISCONNECT);

My version is 1.7.19,I read the source code is to fix this bug,But it's still a memory leak image image Kneel for the big guys to solve the guidance

1414215371 avatar Oct 13 '21 08:10 1414215371

I'm using version 1.7.19 and still have memory leaks, same as above

xgene avatar Jan 10 '22 04:01 xgene

@1414215371 Did you fixed it?

webinone avatar Jan 17 '22 01:01 webinone

@.***的真实姓名,否则被丢弃.

xgene avatar Jan 17 '22 01:01 xgene

hello i am from korea i can not chinese i have same problem with you

https://github.com/mrniko/netty-socketio/issues/829

did you fixed it? regards.

2022년 1월 17일 (월) 오전 10:43, xgene @.***>님이 작성:

@.***的真实姓名,否则被丢弃.

— Reply to this email directly, view it on GitHub https://github.com/mrniko/netty-socketio/issues/829#issuecomment-1014061810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFDGEUHKREC6LGKB6CZQUDUWNX3TANCNFSM5F4R2R5A . You are receiving this because you commented.Message ID: @.***>

webinone avatar Jan 17 '22 01:01 webinone

hello i am from korea i can not chinese i have same problem with you #829 did you fixed it? regards. 2022년 1월 17일 (월) 오전 10:43, xgene @.***>님이 작성: @.的真实姓名,否则被丢弃. — Reply to this email directly, view it on GitHub <#829 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFDGEUHKREC6LGKB6CZQUDUWNX3TANCNFSM5F4R2R5A . You are receiving this because you commented.Message ID: @.>

I have no idea I can't fix it

xgene avatar Jan 17 '22 02:01 xgene