【问题标题】:How to restrict Cassandra to fixed memory如何将 Cassandra 限制为固定内存
【发布时间】:2018-10-17 16:54:45
【问题描述】:

我们使用 cassandra 来从 thingsboard 收集数据。它开始时的内存是 4GB(在执行 cassandra 的 systemctl status 之后),15 小时后它达到了 9.3GB。 我想知道为什么内存会增加这么多,有什么方法可以控制或限制它使用固定数量的内存而不会丢失数据。

【问题讨论】:

    标签: cassandra thingsboard


    【解决方案1】:

    检查this 以设置使用的最大堆大小。但是当你改变它时,请正确调整 cassandra gc。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-19
      • 2022-11-03
      • 1970-01-01
      • 1970-01-01
      • 2014-04-13
      • 2019-03-16
      • 2011-10-23
      • 1970-01-01
      相关资源
      最近更新 更多