Question is a follow up question regarding this forum exchange: Direct buffer allocation .
Problem is that at some point there was a change introduced to how default implementation is allocating buffers in direct memory, which is not using JMX com.codahale.metrics.jvm.BufferPoolMetricSet
any more.
Is there a way to monitor direct memory usage without setting:
-Dio.netty.maxDirectMemory=0
它通过PooledByteBufAllocator
和UnpooledByteBufAllocator
上的指标(获取器) UnpooledByteBufAllocator
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.