legacy-knowledge-base
公開されました Jun. 30, 2025

The search service exceeded 80% of its allocated Memory

written-by

Dia Seung

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Cloudコンソールで、次のような警告が表示されることがあります:
The search service exceeded 80% of its allocated Memory

環境

  • Liferay PaaS

解決

  • 検索サービスはメモリ消費量が多くなることが多く、コンテナに割り当てられたメモリ全体を使用することさえありますが、必ずしも悪いことではありません。
  • この動作は、検索サービス内で速度低下、接続の切断、500 Internal Server Error メッセージなどの実際の問題が発生している場合にのみ問題となります。
  • Elasticsearch が大量のメモリを消費することは必ずしも問題ではありません。検索コンテナには通常、関連するプロセスが1つしか存在せず、Elasticsearch はそのメモリを使用しているからです。実際、メモリの解放はコストのかかる操作であるため、他にメモリを必要とするプロセスがないため、メモリをコンテナに解放し戻すのは逆効果です。通常、JVM は最終的にガベージコレクションによってそのメモリを解放します。

追加情報

 

did-this-article-resolve-your-issue

legacy-knowledge-base