jvm.memory.non-heap.max = -1

179 views
Skip to first unread message

Bei Wu

unread,
Jan 15, 2021, 6:10:32 PM1/15/21
to dropwizard-user
Hello~
I have been running dropwizard-example to test metrics-jvm module.
I printed out all memory metrics in main() and saw jvm.memory.non-heap.max is set to -1.
and jvm.memory.non-heap.usage is a strange value because -1 is used in its calculations. Is this a known bug to dropwizard dev team?

I can confirm that this happens with metrics-jvm 4.1.17.

Thanks!

Bei Wu

unread,
Jan 19, 2021, 1:38:17 PM1/19/21
to dropwizard-user
Reply all
Reply to author
Forward
0 new messages