Skip to content

add ByteBuf monitor #13890

Answered by franz1981
342963711 asked this question in Q&A
Discussion options

You must be logged in to vote

If you set -Dio.netty.maxDirectMemory=0 or disable Unsafe, ByteBufs should use Cleaners and should be visible as any other direct memory user. Without, you need to use the allocator statistics or, if you're using an higher-level framework using Netty, it is often possible to read such metrics with the right micrometer plugin.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 342963711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants