Skip to content

dubbo内存泄露 #7554

@whaon

Description

@whaon

版本:spring-cloud-starter-dubbo 2.2.3.RELEASE,对应的dubbo版本为2.7.8,nacos的starter也是 2.2.3.RELEASE

jmap发现有个dto占用大量空间,得不到释放
手动触发几次gc仍然不能释放
image

dump后使用mat分析疑似内存泄露
image
image
image
image

猜测是rpc调用后,dto对象放到threadlocal里,然后没有释放

Metadata

Metadata

Assignees

No one assigned

    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