gchq / stroom

Stroom is a highly scalable data storage, processing and analysis platform.
https://gchq.github.io/stroom-docs/
Apache License 2.0
424 stars 56 forks source link

Change Memory stat to include the mem used by direct & mapped byte buffers #4266

Closed at055612 closed 1 month ago

at055612 commented 1 month ago

e.g.

        ManagementFactory.getPlatformMXBeans(BufferPoolMXBean.class)
                .stream()
                .filter(pool -> "direct".equalsIgnoreCase(pool.getName())
                        || "mapped".equalsIgnoreCase(pool.getName()))

Modify the memory stat to have two new type tag values Direct Buffers Used and Mapped Buffers Used

at055612 commented 1 month ago

Fixed in > 7.4-beta.12