Skip to content

Memory leak in netty4.1 io.netty.channel.socket.nio.NioSocketChannel #11942

Closed
@starsliao

Description

@starsliao

I encountered the issue of memory leaks with Netty. I am using version 2.5.0 of autoinstrumentation-java, and I have experienced the same problem.

In long-running Java microservices (running for more than 20 days,high volume of requests), there is insufficient Java heap memory. Many microservices are experiencing this issue, and some of these microservices are not even using Netty.

I previously had the same issue when using version 2.3.0 of autoinstrumentation-java.

This is latest Java dump file.

I am an operations engineer, and this is the phenomenon I observed. Below is the screenshot information provided by my development colleagues.

企业微信截图_17200595874833 ![企业微信截图_17200793969702](https://github.com/user-attachments/assets/c98fd2f7-633e-40e3-8b36-3ac1676d21b2) 企业微信截图_17200797606265

企业微信截图_17200793969702

Originally posted by @starsliao in #11399 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions