【问题标题】:OrientDB 2.2.2 - Is there a way to suppress OAbstractProfiler$MemoryChecker Messages?OrientDB 2.2.2 - 有没有办法抑制 OAbstractProfiler$MemoryChecker 消息?
【发布时间】:2016-11-03 05:38:41
【问题描述】:

我们在 32 位 Windows 上运行,自从从 1.4.1 升级到 2.2.2 后,我们在标准输出中看到以下内存(数字不准确):

INFO: Database 'BLAH' uses 770MB/912MB of DISKCACHE memory, while Heap is not completely used (usedHeap=123MB maxHeap=512MB). To improve performance set maxHeap to 124MB and DISKCACHE to 1296MB

对于 32 位,我们只能设置 Xmx + storage.diskCache.bufferSize ~= 1.4gb 的最大值,而不会出现 OOM 或性能问题。这两个可配置变量中任何一个的不同大小的任意组合都会导致上述消息的变体。

有没有办法抑制上述分析器/内存检查器消息?

【问题讨论】:

    标签: orientdb


    【解决方案1】:

    您可以使用以下方法禁用分析器:

    java ... -Dprofiler.enabled=false ...
    

    在您的server.shconfig/orientdb-server-config.xml 文件的最后一部分中设置该配置。

    【讨论】:

    • 你好@Lvca,看起来这个选项不会禁用 OAbstractProfiler$MemoryCheckerMessages。
    猜你喜欢
    • 2017-03-18
    • 1970-01-01
    • 1970-01-01
    • 2020-06-01
    • 2010-09-16
    • 2010-10-28
    • 2013-12-13
    • 2011-10-10
    • 1970-01-01
    相关资源
    最近更新 更多