Excessive memory usage in OpenFire Real Time Collaboration Server when Confluence is started

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Each time Confluence is started, although ps aux shows that Confluence only takes Xmx + XX:MaxPermSize of physical memory, the VM's memory usage will spike to a level near the limit of the VM's physical memory.

原因

By default, Atlassian applications such as Confluence will not use more physical memory (RES) than the specified Xmx + XX:MaxPermSize in JAVA_OPTS. This is however, not true with applications hosted in OpenFire. OpenFire does not seem to respect the limits specified in JAVA_OPTS, it only does so with INSTALL4J_ADD_VM_PARAMS.

ソリューション

  • Confluence をシャットダウンします。

  • Navigate to ConfluenceInstallationDirectory/bin and edit setenv.sh
  • 次の行を追加します。

    INSTALL4J_ADD_VM_PARAMS="-Xms256m -Xmx512m -XX:MaxPermSize=256m $JAVA_OPTS -Djava.awt.headless=true "
    
    export INSTALL4J_ADD_VM_PARAMS

    Set the Xmx, Xms and MaxPermsize based on your requirements

  • Startup Confluence
最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.