Jira installer presenting an OutOfMemoryError during an upgrade.
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Jira installer having OutOfMemoryError during an upgrade. The following error will be logged in the install4jError.log:
Exception:
java.lang.OutOfMemoryError: Java heap space
at java.base/java.io.WinNTFileSystem.list(Native Method)
at java.base/java.io.File.normalizedList(Unknown Source)
at java.base/java.io.File.listFiles(Unknown Source)原因
The Jira installer is built using install4j and it allocates by default 2GB of memory, which may not be enough when updating a large Jira environment.
ソリューション
You can pass an install4j parameter that will increase the installer heap memory size: -J-Xmx5000m
.\atlassian-jira-software-8.20.16-x64.exe -J-Xmx5000mAdjust the Xmx value according to your system.
この内容はお役に立ちましたか?