legacy-knowledge-base
公開されました Sep. 10, 2025

LPKG インデックスの検証に時間がかかりすぎて、メモリ不足エラーが発生する

written-by

Adam Zsolnay

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

問題

  • 新しいパッチを適用した後、テスト サーバーを -Xmx1024Mb で起動すると、LPKG インデックス バリデーターの実行時間が長すぎて、GC オーバーヘッド例外が発生し、OutOfMemoryError が発生します。
  • WARN [HikariPool-1 housekeeper][HikariPool:676] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m36s726ms671µs500ns).
    Exception in thread "NioBlockingSelector.BlockPoller-2" java.lang.OutOfMemoryError: Java heap space
  • 私たちにとって、本番環境でバリデーターを無効にすることはできません。

Environment

  • DXP 7.0

解決策

  • 最大ヒープ サイズを少なくとも 3GB に増やし ( -Xmx3g)、サーバーを再起動します。
  • 3Gb の問題が解決したら、JVM をさらに微調整できます。

did-this-article-resolve-your-issue

legacy-knowledge-base