ActiveMQ Artemis JVM 不释放内存

问题描述 投票:0回答:0

我在 AKS 中运行一个 ActiveMQ 容器。我向它发布了数百万条消息。消耗完所有消息后,我看到地址内存减少了,但 ActiveMQ 的 JVM 没有释放内存(下图中的尖峰是垃圾收集器造成的)。我需要在

artemis.profile
中实现一些东西来释放内存吗?如何检查是否有内存泄漏?

当前 Java 参数 -

-XX:+UseCompressedOops -Xmx3048M -Xms1512M  -Djava.net.preferIPv4Addresses=true -XX:+UnlockExperimentalVMOptions -XX:AutoBoxCacheMax=20000 -XX:+PrintClassHistogram -XX:+UseG1GC

JVM 堆大小图 -

Artemis 版本 - 2.27.0

JDK-11

java heap-memory activemq-artemis
© www.soinside.com 2019 - 2024. All rights reserved.