Skip to content

Configure memory leak detection for Netty #14338

@bclozel

Description

@bclozel

We should add a property for configuring the level of leak detection with Netty.

This can be done statically, has obviously a performance cost, but is really useful if an application is dealing with DataBuffer instances or extensive customizations on the Netty engine.

This applies to both server and client use cases, and Netty offers an API for that:

ResourceLeakDetector.setLevel(Level.PARANOID);

We could also consider enabling this by default when the devtools are activated.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions